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

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: Test resources fix Created 5 years, 10 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/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java b/components/data_reduction_proxy/content/resources/data_reduction_proxy.js
similarity index 50%
copy from build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
copy to components/data_reduction_proxy/content/resources/data_reduction_proxy.js
index 1281b39586e399c3103b5f2ab3ca1f3fab26d182..b295ec95a1d31f1bf26d902a0db558f590697f7e 100644
--- a/build/android/pylib/remote/device/dummy/src/org/chromium/dummy/Dummy.java
+++ b/components/data_reduction_proxy/content/resources/data_reduction_proxy.js
@@ -2,8 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.dummy;
-
-/** Does nothing. */
-class Dummy {}
-
+// 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