Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(890)

Unified Diff: components/cronet/android/cronet_impl_native_proguard.cfg

Issue 2660963002: Cronet: a framework to provide alternative Cronet implementations (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/cronet_impl_native_proguard.cfg
diff --git a/components/cronet/android/cronet_impl_native_proguard.cfg b/components/cronet/android/cronet_impl_native_proguard.cfg
index 3d96717ad8b588cefee36e99e0cd93d8d7e51e60..620428569181532a2da181b479c483dde2996148 100644
--- a/components/cronet/android/cronet_impl_native_proguard.cfg
+++ b/components/cronet/android/cronet_impl_native_proguard.cfg
@@ -1,5 +1,10 @@
# Proguard config for apps that depend on cronet_impl_native_java.jar.
+# This constructor is called using the reflection from Cronet API (cronet_api.jar).
+-keep class org.chromium.net.impl.NativeCronetProvider {
+ public <init>(android.content.Context);
+}
+
# Suppress unnecessary warnings.
-dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver
-dontnote org.chromium.net.AndroidKeyStore
« no previous file with comments | « components/cronet/android/cronet_impl_common_proguard.cfg ('k') | components/cronet/android/cronet_impl_platform_proguard.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698