summaryrefslogtreecommitdiffstats
path: root/android_webview/common
diff options
context:
space:
mode:
authorterry@google.com <terry@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 15:55:10 +0000
committerterry@google.com <terry@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 15:55:10 +0000
commitc9ddabfb34059414860e439c74bfe51f27acf2dc (patch)
tree01942d6b8f092fca23d37058e43f67e0e5486978 /android_webview/common
parent1be4263a412ae841a4a646497b8199cbce23956d (diff)
downloadchromium_src-c9ddabfb34059414860e439c74bfe51f27acf2dc.zip
chromium_src-c9ddabfb34059414860e439c74bfe51f27acf2dc.tar.gz
chromium_src-c9ddabfb34059414860e439c74bfe51f27acf2dc.tar.bz2
Adds "Dart" to the user agent string for android webview.
R=asiva@google.com Review URL: https://codereview.chromium.org/174083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/common')
-rw-r--r--android_webview/common/aw_content_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/android_webview/common/aw_content_client.cc b/android_webview/common/aw_content_client.cc
index b1071c1..90a91e0 100644
--- a/android_webview/common/aw_content_client.cc
+++ b/android_webview/common/aw_content_client.cc
@@ -27,7 +27,7 @@ namespace android_webview {
std::string GetUserAgent() {
// "Version/4.0" had been hardcoded in the legacy WebView.
- std::string product = "Version/4.0 " + GetProduct();
+ std::string product = "Version/4.0 (Dart) " + GetProduct();
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kUseMobileUserAgent)) {
product += " Mobile";