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

Unified Diff: components/data_reduction_proxy/content/resources/data_reduction_proxy.js

Issue 830503004: Data Reduction Proxy blocking page and resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@interstitalStep1
Patch Set: Rebase and crash fixes Created 5 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/data_reduction_proxy/content/resources/data_reduction_proxy.js
diff --git a/android_webview/common/aw_switches.cc b/components/data_reduction_proxy/content/resources/data_reduction_proxy.js
similarity index 50%
copy from android_webview/common/aw_switches.cc
copy to components/data_reduction_proxy/content/resources/data_reduction_proxy.js
index 1a0cf7e72691573aec760b95b24a7284ccb2040f..9f7e4f785747ea8003313b5369c3c8279f8d0e45 100644
--- a/android_webview/common/aw_switches.cc
+++ b/components/data_reduction_proxy/content/resources/data_reduction_proxy.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "android_webview/common/aw_switches.h"
-
-namespace switches {
-} // namespace switches
+// Must match the commands handled by
+// DataReductionProxyBlockingPage::CommandReceived.
+var DRP_CMD_PROCEED = 'proceed';
+var DRP_CMD_TAKE_ME_BACK = 'takeMeBack';

Powered by Google App Engine
This is Rietveld 408576698