| 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
|
|
|