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

Unified Diff: android_webview/common/aw_content_client.cc

Issue 695313002: android_webview: use chrome version information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/common/aw_version_info_values.h.version » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/common/aw_content_client.cc
diff --git a/android_webview/common/aw_content_client.cc b/android_webview/common/aw_content_client.cc
index e20b7b44cee783a9d9153a8dfcaf1a136d92b059..b866bdf6f6521063a3f06c8349afc07d07130747 100644
--- a/android_webview/common/aw_content_client.cc
+++ b/android_webview/common/aw_content_client.cc
@@ -4,6 +4,7 @@
#include "android_webview/common/aw_content_client.h"
+#include "android_webview/common/aw_version_info_values.h"
#include "base/basictypes.h"
#include "base/command_line.h"
#include "content/public/common/content_switches.h"
@@ -15,10 +16,7 @@
namespace {
std::string GetProduct() {
- // "Chrome/XX.0.0.0" identifies that this WebView is derived from the
- // corresponding Chromium version XX.
- // TODO(torne): Use chrome/VERSION file. See http://crbug.com/297522
- return "Chrome/40.0.0.0";
+ return "Chrome/" PRODUCT_VERSION;
}
}
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/common/aw_version_info_values.h.version » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698