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

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: Add webui_resources.pak 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/chrome/common/chrome_version.cc.version b/components/data_reduction_proxy/content/resources/data_reduction_proxy.js
similarity index 50%
copy from chrome/common/chrome_version.cc.version
copy to components/data_reduction_proxy/content/resources/data_reduction_proxy.js
index 54e062bb931046619a1e1a53298d2cbccbecccad..b295ec95a1d31f1bf26d902a0db558f590697f7e 100644
--- a/chrome/common/chrome_version.cc.version
+++ b/components/data_reduction_proxy/content/resources/data_reduction_proxy.js
@@ -2,10 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/common/chrome_constants.h"
-
-namespace chrome {
-
-const char kChromeVersion[] = "@MAJOR@.@MINOR@.@BUILD@.@PATCH@";
-
-} // namespace chrome
+// 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