Index: components/history/core/browser/web_history_service.cc |
diff --git a/components/history/core/browser/web_history_service.cc b/components/history/core/browser/web_history_service.cc |
index 78dc4b15448ba8c9bd1fb7701c0d3b8ade5d0d41..35d97b85957559f9ce58aefca4d678ebdef09449 100644 |
--- a/components/history/core/browser/web_history_service.cc |
+++ b/components/history/core/browser/web_history_service.cc |
@@ -512,8 +512,8 @@ void WebHistoryService::QueryOtherFormsOfBrowsingHistory( |
callback); |
// Find the Sync request URL. |
- GURL url = |
- GetSyncServiceURL(*base::CommandLine::ForCurrentProcess(), channel); |
+ GURL url = syncer::GetSyncServiceURL(*base::CommandLine::ForCurrentProcess(), |
+ channel); |
GURL::Replacements replace_path; |
std::string new_path = |
url.path() + kQueryOtherFormsOfBrowsingHistoryUrlSuffix; |
@@ -524,7 +524,7 @@ void WebHistoryService::QueryOtherFormsOfBrowsingHistory( |
Request* request = CreateRequest(url, completion_callback); |
// Set the Sync-specific user agent. |
- std::string user_agent = MakeUserAgentForSync( |
+ std::string user_agent = syncer::MakeUserAgentForSync( |
channel, ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET); |
request->SetUserAgent(user_agent); |