Bug 1297850 - part 3, Fix Robocop breakage caused by proguard stripping out URLMetadata r=jchen
authorRandall Barker <rbarker@mozilla.com>
Thu, 25 Aug 2016 12:50:00 -0700
changeset 311290 9a7524861d8b5b255529a8e78da741ec6d896f7f
parent 311289 1641b474f9d35dc628eeaa97221e0ec555ab241e
child 311291 abe23b9940e2ef286940318311f3ed69194262a1
push id20395
push userryanvm@gmail.com
push dateFri, 26 Aug 2016 13:37:30 +0000
treeherderfx-team@a65b35c8e5b1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen
bugs1297850
milestone51.0a1
Bug 1297850 - part 3, Fix Robocop breakage caused by proguard stripping out URLMetadata r=jchen
mobile/android/base/java/org/mozilla/gecko/db/URLMetadata.java
--- a/mobile/android/base/java/org/mozilla/gecko/db/URLMetadata.java
+++ b/mobile/android/base/java/org/mozilla/gecko/db/URLMetadata.java
@@ -6,17 +6,20 @@
 package org.mozilla.gecko.db;
 
 import java.util.Collection;
 import java.util.List;
 import java.util.Map;
 
 import org.json.JSONObject;
 
+import org.mozilla.gecko.annotation.RobocopTarget;
+
 import android.content.ContentResolver;
 
+@RobocopTarget
 public interface URLMetadata {
     public Map<String, Object> fromJSON(JSONObject obj);
     public Map<String, Map<String, Object>> getForURLs(final ContentResolver cr,
                                                        final Collection<String> urls,
                                                        final List<String> columns);
     public void save(final ContentResolver cr, final Map<String, Object> data);
 }