Index: chrome/common/chrome_content_client.cc |
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
index fc9149bf071915b7f314c24c520c97c36bbc9cd1..e245a0efc9d452a83304dffceefda4b8fa56c67d 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 { |