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

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

Issue 2101153003: Remove data reduction proxy code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/browser/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. 3 # tables.
4 -keepnames class *** { *; } 4 -keepnames class *** { *; }
5 5
6 # Keep source file and line number information for stack traces. 6 # Keep source file and line number information for stack traces.
7 -keepattributes SourceFile,LineNumberTable 7 -keepattributes SourceFile,LineNumberTable
8 8
9 # Keep all runtime visible annotations. 9 # Keep all runtime visible annotations.
10 -keepattributes RuntimeVisibleAnnotations 10 -keepattributes RuntimeVisibleAnnotations
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver 63 -dontnote org.chromium.net.ProxyChangeListener$ProxyReceiver
64 64
65 # Silence warnings about reflection used to check for onShow/HideCustomView. 65 # Silence warnings about reflection used to check for onShow/HideCustomView.
66 # This class is not really kept since it's in a library jar. 66 # This class is not really kept since it's in a library jar.
67 -keep class android.webkit.WebChromeClient { 67 -keep class android.webkit.WebChromeClient {
68 void onShowCustomView(...); 68 void onShowCustomView(...);
69 void onHideCustomView(); 69 void onHideCustomView();
70 } 70 }
71 71
72 # Accessed via reflection but not present in all builds 72 # Accessed via reflection but not present in all builds
73 -keep class com.android.webview.chromium.Drp {
74 public java.lang.String KEY;
75 }
76 -dontnote com.android.webview.chromium.Drp
77 -keep class com.android.webview.chromium.PlatformServiceBridgeGoogle { 73 -keep class com.android.webview.chromium.PlatformServiceBridgeGoogle {
78 void setMetricsSettingListener(...); 74 void setMetricsSettingListener(...);
79 PlatformServiceBridgeGoogle(...); 75 PlatformServiceBridgeGoogle(...);
80 } 76 }
81 -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle 77 -dontnote com.android.webview.chromium.PlatformServiceBridgeGoogle
82 78
83 # AwDebug is accessed by reflection. 79 # AwDebug is accessed by reflection.
84 -keep class org.chromium.android_webview.AwDebug { 80 -keep class org.chromium.android_webview.AwDebug {
85 public static boolean dumpWithoutCrashing(...); 81 public static boolean dumpWithoutCrashing(...);
86 } 82 }
87 83
88 #TODO(hush): remove after N release. crbug.com/546762 84 #TODO(hush): remove after N release. crbug.com/546762
89 -keep class com.android.webview.chromium.ContentSettingsAdapter { 85 -keep class com.android.webview.chromium.ContentSettingsAdapter {
90 public void setDisabledActionModeMenuItems(int); 86 public void setDisabledActionModeMenuItems(int);
91 public int getDisabledActionModeMenuItems(); 87 public int getDisabledActionModeMenuItems();
92 } 88 }
93 89
94 # Ignore notes and warnings about the support library, which uses reflection and 90 # Ignore notes and warnings about the support library, which uses reflection and
95 # may reference classes no longer in the SDK. 91 # may reference classes no longer in the SDK.
96 -dontnote android.support.** 92 -dontnote android.support.**
97 -dontwarn android.support.** 93 -dontwarn android.support.**
98 94
99 # Keep all enum values and valueOf methods. See 95 # Keep all enum values and valueOf methods. See
100 # http://proguard.sourceforge.net/index.html#manual/examples.html 96 # http://proguard.sourceforge.net/index.html#manual/examples.html
101 # for the reason for this. Also, see http://crbug.com/248037. 97 # for the reason for this. Also, see http://crbug.com/248037.
102 -keepclassmembers enum * { 98 -keepclassmembers enum * {
103 public static **[] values(); 99 public static **[] values();
104 public static ** valueOf(java.lang.String); 100 public static ** valueOf(java.lang.String);
105 } 101 }
OLDNEW
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698