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