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

Unified Diff: chrome/browser/sync/sync_ui_util.h

Issue 10696107: sync: Track validity of about:sync fields (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 8 years, 5 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/browser/sync/sync_global_error_unittest.cc ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_ui_util.h
diff --git a/chrome/browser/sync/sync_ui_util.h b/chrome/browser/sync/sync_ui_util.h
index b1483e7cf07c0421da8a7d568f25f2fb5d6b47e7..e72671d3b7240061397c570b7a7a5cb960f85dd9 100644
--- a/chrome/browser/sync/sync_ui_util.h
+++ b/chrome/browser/sync/sync_ui_util.h
@@ -5,19 +5,10 @@
#ifndef CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_
#define CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_
-#include <string>
-
#include "base/string16.h"
-#include "base/values.h"
-#include "chrome/browser/sync/profile_sync_service.h"
-
-class Browser;
-class Profile;
-namespace base {
-class ListValue;
-class DictionaryValue;
-}
+class ProfileSyncService;
+class SigninManager;
// Utility functions to gather current sync status information from the sync
// service and constructs messages suitable for showing in UI.
@@ -70,27 +61,5 @@ MessageType GetStatus(ProfileSyncService* service, const SigninManager& signin);
string16 GetSyncMenuLabel(ProfileSyncService* service,
const SigninManager& signin);
-void AddBoolSyncDetail(base::ListValue* details,
- const std::string& stat_name,
- bool stat_value);
-
-// |service| can be NULL.
-void ConstructAboutInformation(ProfileSyncService* service,
- DictionaryValue* strings);
-
-void AddIntSyncDetail(base::ListValue* details,
- const std::string& stat_name,
- int64 stat_value);
-
-void AddStringSyncDetails(ListValue* details, const std::string& stat_name,
- const std::string& stat_value);
-
-// Returns a string describing the chrome version environment. Version format:
-// <Build Info> <OS> <Version number> (<Last change>)<channel or "-devel">
-// If version information is unavailable, returns "invalid."
-// TODO(zea): this approximately matches MakeUserAgentForSyncApi in
-// sync_backend_host.cc. Unify the two if possible.
-std::string GetVersionString();
-
} // namespace sync_ui_util
#endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_
« no previous file with comments | « chrome/browser/sync/sync_global_error_unittest.cc ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698