diff options
| author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-17 16:50:56 +0000 |
|---|---|---|
| committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-17 16:50:56 +0000 |
| commit | 9a5bb05bd1e76b7923382dc058ca958818febce3 (patch) | |
| tree | a192c51fde864453816cdd9465331a57e1c66443 /chrome/common/chrome_content_client.cc | |
| parent | b8faca2407cf7e3692d7ce9ff0a7aafc9a76cae1 (diff) | |
| download | chromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.zip chromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.tar.gz chromium_src-9a5bb05bd1e76b7923382dc058ca958818febce3.tar.bz2 | |
Revert accidental dartium code push
This reverts r264517 to r264538 from terry@google.com
BUG=none
TEST=none
NOTRY=true
NOTREECHECKS=true
TBR=terry@google.com
Review URL: https://codereview.chromium.org/239993009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264545 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_content_client.cc')
| -rw-r--r-- | chrome/common/chrome_content_client.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc index fc9149b..e245a0e 100644 --- a/chrome/common/chrome_content_client.cc +++ b/chrome/common/chrome_content_client.cc @@ -504,14 +504,7 @@ std::string ChromeContentClient::GetProduct() const { } std::string ChromeContentClient::GetUserAgent() const { - std::string product = GetProduct(); - product += " (Dart)"; -#if defined(OS_ANDROID) - CommandLine* command_line = CommandLine::ForCurrentProcess(); - if (command_line->HasSwitch(switches::kUseMobileUserAgent)) - product += " Mobile"; -#endif - return webkit_glue::BuildUserAgentFromProduct(product); + return ::GetUserAgent(); } base::string16 ChromeContentClient::GetLocalizedString(int message_id) const { |
