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

Side by Side Diff: android_webview/apk/java/proguard.flags

Issue 2635693002: [WebView] initial webview-side implementation of safebrowsing (Closed)
Patch Set: rename lock, add crbug comment 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 unified diff | Download patch
OLDNEW
1 # Don't rename anything, it makes stack traces unintelligible. We only allow the 1 # Don't rename anything, it makes stack traces unintelligible. We only allow the
2 # obfuscation pass to run so that we can discard attributes like local variable 2 # obfuscation pass to run so that we can discard attributes like local variable
3 # tables. However, we don't want to lose out on optimizations, so although they 3 # tables. However, we don't want to lose out on optimizations, so although they
4 # can occasionally make the stack trace a bit stranger with inlining, it won't 4 # can occasionally make the stack trace a bit stranger with inlining, it won't
5 # make a big difference for the users seeing the stacktraces. We can always use 5 # make a big difference for the users seeing the stacktraces. We can always use
6 # build/android/stacktrace/java_deobfuscate.py to fix the stacktrace up for us. 6 # build/android/stacktrace/java_deobfuscate.py to fix the stacktrace up for us.
7 -keepnames,allowoptimization class *** { *; } 7 -keepnames,allowoptimization class *** { *; }
8 8
9 # Keep the factory and its public members; it's the main entry point used by the 9 # Keep the factory and its public members; it's the main entry point used by the
10 # framework. 10 # framework.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 -keep class org.chromium.android_webview.AwBrowserProcess { 55 -keep class org.chromium.android_webview.AwBrowserProcess {
56 java.nio.channels.FileLock sExclusiveFileLock; 56 java.nio.channels.FileLock sExclusiveFileLock;
57 } 57 }
58 58
59 # Accessed via reflection but not present in all builds 59 # Accessed via reflection but not present in all builds
60 -keep class com.android.webview.chromium.PlatformServiceBridgeGoogle { 60 -keep class com.android.webview.chromium.PlatformServiceBridgeGoogle {
61 void setMetricsSettingListener(...); 61 void setMetricsSettingListener(...);
62 PlatformServiceBridgeGoogle(...); 62 PlatformServiceBridgeGoogle(...);
63 } 63 }
64 -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle 64 -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle
65 -keep class com.android.webview.chromium.AwSafeBrowsingApiHandler {
66 AwSafeBrowsingApiHandler(...);
67 }
68 -dontnote com.android.webview.chromium.AwSafeBrowsingApiHandler
65 69
66 #TODO(hush): remove after N release. crbug.com/546762 70 #TODO(hush): remove after N release. crbug.com/546762
67 -keep class com.android.webview.chromium.ContentSettingsAdapter { 71 -keep class com.android.webview.chromium.ContentSettingsAdapter {
68 public void setDisabledActionModeMenuItems(int); 72 public void setDisabledActionModeMenuItems(int);
69 public int getDisabledActionModeMenuItems(); 73 public int getDisabledActionModeMenuItems();
70 } 74 }
71 75
72 # We strip some unused resources when preprocessing the GMS client libs. 76 # We strip some unused resources when preprocessing the GMS client libs.
73 -dontwarn com.google.android.gms.R** 77 -dontwarn com.google.android.gms.R**
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698