# TODO(mef) remove unnecessary classes from base, so we don't have to preserve
# their methods
--keepclasseswithmembers class org.chromium.** {
+-keep class org.chromium.** {
native <methods>;
}
--dontnote org.chromium.net.AndroidKeyStore
-
# Needed so that multiple optimization passes will detect annotations
-keepattributes *Annotation*
# Keep methods used by reflection and native code
--keep class org.chromium.net.UsedBy*
--keep @org.chromium.net.UsedBy* class *
+-keep class org.chromium.base.UsedBy*
+-keep @org.chromium.base.UsedBy* class *
-keepclassmembers class * {
- @org.chromium.net.UsedBy* *;
-}
\ No newline at end of file
+ @org.chromium.base.UsedBy* *;
+}
+
+# Suppress unnecessary warnings.
+-dontnote org.chromium.net.AndroidKeyStore
+# Objects of this type are passed around by native code, but the class
+# is never used directly by native code. Since the class is not loaded, it does
+# not need to be preserved as an entry point.
+-dontnote org.chromium.net.UrlRequest$ResponseHeadersMap
+