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

Unified Diff: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java

Issue 2101153003: Remove data reduction proxy code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « android_webview/native/aw_contents_statics.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
index 94df928e272c37eca8eea1297203090390e5e191..36f6748ef2a1ab0d58584548d3fc696b3c723241 100644
--- a/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
+++ b/android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java
@@ -33,7 +33,6 @@ import org.chromium.android_webview.AwBrowserContext;
import org.chromium.android_webview.AwBrowserProcess;
import org.chromium.android_webview.AwContents;
import org.chromium.android_webview.AwContentsClient;
-import org.chromium.android_webview.AwContentsStatics;
import org.chromium.android_webview.AwDevToolsServer;
import org.chromium.android_webview.AwSettings;
import org.chromium.android_webview.test.AwTestContainerView;
@@ -66,11 +65,6 @@ public class AwShellActivity extends Activity {
private ImageButton mPrevButton;
private ImageButton mNextButton;
- // This is the same as data_reduction_proxy::switches::kEnableDataReductionProxy.
- private static final String ENABLE_DATA_REDUCTION_PROXY = "enable-spdy-proxy-auth";
- // This is the same as data_reduction_proxy::switches::kDataReductionProxyKey.
- private static final String DATA_REDUCTION_PROXY_KEY = "spdy-proxy-auth-value";
-
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
@@ -111,14 +105,6 @@ public class AwShellActivity extends Activity {
mAwTestContainerView.getAwContents().loadUrl(startupUrl);
AwContents.setShouldDownloadFavicons();
mUrlTextView.setText(startupUrl);
-
- if (CommandLine.getInstance().hasSwitch(ENABLE_DATA_REDUCTION_PROXY)) {
- String key = CommandLine.getInstance().getSwitchValue(DATA_REDUCTION_PROXY_KEY);
- if (key != null && !key.isEmpty()) {
- AwContentsStatics.setDataReductionProxyKey(key);
- AwContentsStatics.setDataReductionProxyEnabled(true);
- }
- }
}
@Override
« no previous file with comments | « android_webview/native/aw_contents_statics.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698