From c9ddabfb34059414860e439c74bfe51f27acf2dc Mon Sep 17 00:00:00 2001 From: "terry@google.com" Date: Thu, 17 Apr 2014 15:55:10 +0000 Subject: 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 --- android_webview/common/aw_content_client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'android_webview') 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"; -- cgit v1.1