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

Unified Diff: components/sync/driver/sync_util.cc

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Fix tools and iOS. Created 4 years, 3 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/sync/driver/sync_util.cc
diff --git a/components/sync/driver/sync_util.cc b/components/sync/driver/sync_util.cc
index b3535c50558d29d3368d2d261dc769befd0460d2..6b812813265aaa3816c3b0099abdbb25853e3371 100644
--- a/components/sync/driver/sync_util.cc
+++ b/components/sync/driver/sync_util.cc
@@ -45,6 +45,7 @@ std::string GetSystemString(bool is_tablet) {
} // namespace
+namespace syncer {
namespace internal {
const char* kSyncServerUrl = "https://clients4.google.com/chrome-sync";
@@ -104,3 +105,5 @@ std::string MakeUserAgentForSync(version_info::Channel channel,
std::string system = GetSystemString(is_tablet);
return internal::FormatUserAgentForSync(system, channel);
}
+
+} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698