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

Unified Diff: chrome/common/sync_util.h

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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
« no previous file with comments | « chrome/common/service_process_util_unittest.cc ('k') | chrome/common/sync_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/sync_util.h
diff --git a/chrome/common/sync_util.h b/chrome/common/sync_util.h
index 545c26fcaec91ef6aa44fcfe71c4e29ee1bce78d..d219f043cdf61abe17f1cec415c0e9a5605d10c8 100644
--- a/chrome/common/sync_util.h
+++ b/chrome/common/sync_util.h
@@ -13,10 +13,6 @@ namespace base {
class CommandLine;
}
-namespace chrome {
-class VersionInfo;
-}
-
namespace internal {
// Default sync server URL. Visible for testing.
extern const char* kSyncServerUrl;
@@ -30,9 +26,7 @@ GURL GetSyncServiceURL(const base::CommandLine& command_line);
// Helper to construct a user agent string (ASCII) suitable for use by
// the syncapi for any HTTP communication. This string is used by the sync
// backend for classifying client types when calculating statistics.
-std::string MakeDesktopUserAgentForSync(
- const chrome::VersionInfo& version_info);
-std::string MakeUserAgentForSync(const chrome::VersionInfo& version_info,
- const std::string& system);
+std::string MakeDesktopUserAgentForSync();
+std::string MakeUserAgentForSync(const std::string& system);
#endif // CHROME_COMMON_SYNC_UTIL_H_
« no previous file with comments | « chrome/common/service_process_util_unittest.cc ('k') | chrome/common/sync_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698