Revert use of chrome version information in android webview.
Revert back to using a hardcoded version number instead of the real
version number.
Bug: 19473740
Change-Id: I7f844b02909cb605fcddfceba787c40d71c60d93
diff --git a/android_webview/common/aw_content_client.cc b/android_webview/common/aw_content_client.cc
index b866bdf..33e9723 100644
--- a/android_webview/common/aw_content_client.cc
+++ b/android_webview/common/aw_content_client.cc
@@ -16,7 +16,12 @@
namespace {
std::string GetProduct() {
- return "Chrome/" PRODUCT_VERSION;
+ // "Chrome/XX.0.0.0" identifies that this WebView is derived from the
+ // corresponding Chromium version XX.
+ // TODO(gsennton): Use chrome/VERSION file. See http://crbug.com/461383
+ // This was changed but then reverted because of people relying on the
+ // version number being "Chrome/XX.0.0.0"
+ return "Chrome/40.0.0.0";
}
}