Index: chrome/common/chrome_content_client.cc |
diff --git a/chrome/common/chrome_content_client.cc b/chrome/common/chrome_content_client.cc |
index 44fc688c0ddb7a6adde57801988dc78126196026..17254214c80533311ede120ffdc8695eb0548647 100644 |
--- a/chrome/common/chrome_content_client.cc |
+++ b/chrome/common/chrome_content_client.cc |
@@ -29,6 +29,7 @@ |
#include "content/public/common/content_switches.h" |
#include "content/public/common/pepper_plugin_info.h" |
#include "content/public/common/url_constants.h" |
+#include "content/public/common/user_agent_util.h" |
#include "extensions/common/constants.h" |
#include "gpu/config/gpu_info.h" |
#include "grit/common_resources.h" |
@@ -36,7 +37,6 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/layout.h" |
#include "ui/base/resource/resource_bundle.h" |
-#include "webkit/common/user_agent/user_agent_util.h" |
#include "flapper_version.h" // In SHARED_INTERMEDIATE_DIR. |
#include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. |
@@ -492,7 +492,7 @@ std::string ChromeContentClient::GetUserAgent() const { |
if (command_line->HasSwitch(switches::kUseMobileUserAgent)) |
product += " Mobile"; |
#endif |
- return webkit_glue::BuildUserAgentFromProduct(product); |
+ return content::BuildUserAgentFromProduct(product); |
} |
base::string16 ChromeContentClient::GetLocalizedString(int message_id) const { |