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

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

Issue 12502017: signin: pull basic SigninManager functionality into new SigninManagerBase class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deal with new enterprise_platform_keys_private_api Created 7 years, 8 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 c533803194029893a47ba3a8bbee23f7457aa172..e201201aa4edf9f598f83d868561f3af0192e06a 100644
--- a/chrome/browser/sync/sync_ui_util.h
+++ b/chrome/browser/sync/sync_ui_util.h
@@ -8,7 +8,7 @@
#include "base/string16.h"
class ProfileSyncService;
-class SigninManager;
+class SigninManagerBase;
// Utility functions to gather current sync status information from the sync
// service and constructs messages suitable for showing in UI.
@@ -34,7 +34,7 @@ enum StatusLabelStyle {
// by querying |service|.
// |style| sets the link properties, see |StatusLabelStyle|.
MessageType GetStatusLabels(ProfileSyncService* service,
- const SigninManager& signin,
+ const SigninManagerBase& signin,
StatusLabelStyle style,
string16* status_label,
string16* link_label);
@@ -42,7 +42,7 @@ MessageType GetStatusLabels(ProfileSyncService* service,
// Same as above but for use specifically on the New Tab Page.
// |status_label| may contain an HTML-formatted link.
MessageType GetStatusLabelsForNewTabPage(ProfileSyncService* service,
- const SigninManager& signin,
+ const SigninManagerBase& signin,
string16* status_label,
string16* link_label);
@@ -50,12 +50,13 @@ MessageType GetStatusLabelsForNewTabPage(ProfileSyncService* service,
// |menu_item_label|, |bubble_message|, and |bubble_accept_label| must not be
// NULL.
void GetStatusLabelsForSyncGlobalError(ProfileSyncService* service,
- const SigninManager& signin,
+ const SigninManagerBase& signin,
string16* menu_item_label,
string16* bubble_message,
string16* bubble_accept_label);
-MessageType GetStatus(ProfileSyncService* service, const SigninManager& signin);
+MessageType GetStatus(ProfileSyncService* service,
+ const SigninManagerBase& signin);
} // 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