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

Unified Diff: components/gcm_driver/gcm_desktop_utils.cc

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. 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/gcm_driver/gcm_desktop_utils.cc
diff --git a/components/gcm_driver/gcm_desktop_utils.cc b/components/gcm_driver/gcm_desktop_utils.cc
index 7537195e316493ed8817a0e41eb273adb1ac34af..ce9994575a79ad946058bc54658407bcd23f7c35 100644
--- a/components/gcm_driver/gcm_desktop_utils.cc
+++ b/components/gcm_driver/gcm_desktop_utils.cc
@@ -76,8 +76,8 @@ GCMClient::ChromeBuildInfo GetChromeBuildInfo(
}
std::string GetChannelStatusRequestUrl(version_info::Channel channel) {
- GURL sync_url(GetSyncServiceURL(*base::CommandLine::ForCurrentProcess(),
- channel));
+ GURL sync_url(syncer::GetSyncServiceURL(
+ *base::CommandLine::ForCurrentProcess(), channel));
return sync_url.spec() + kChannelStatusRelativePath;
}
@@ -85,7 +85,7 @@ std::string GetUserAgent(version_info::Channel channel) {
// TODO(pavely): Fix hardcoded is_tablet value in following call to
// MakeUserAgentForSync. Current implementation returns iPhone UserAgent for
// iPad devices.
- return MakeUserAgentForSync(channel, false);
+ return syncer::MakeUserAgentForSync(channel, false);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698