Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: components/history/core/browser/web_history_service.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 35d97b85957559f9ce58aefca4d678ebdef09449..78dc4b15448ba8c9bd1fb7701c0d3b8ade5d0d41 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 = syncer::GetSyncServiceURL(*base::CommandLine::ForCurrentProcess(),
- channel);
+ GURL url =
+ 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 = syncer::MakeUserAgentForSync(
+ std::string user_agent = MakeUserAgentForSync(
channel, ui::GetDeviceFormFactor() == ui::DEVICE_FORM_FACTOR_TABLET);
request->SetUserAgent(user_agent);

Powered by Google App Engine
This is Rietveld 408576698