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

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

Issue 9959038: Removed ProfileSyncService::UIShouldDepictAuthInProgress (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT. Created 8 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 222a891210226ff51343e8ca9d45e5f86e58eb8a..1bade700006b4c144346351cc08447007d7b949a 100644
--- a/chrome/browser/sync/sync_ui_util.h
+++ b/chrome/browser/sync/sync_ui_util.h
@@ -44,6 +44,7 @@ enum StatusLabelStyle {
// by querying |service|.
// |style| sets the link properties, see |StatusLabelStyle|.
MessageType GetStatusLabels(ProfileSyncService* service,
+ const SigninManager& signin,
StatusLabelStyle style,
string16* status_label,
string16* link_label);
@@ -51,6 +52,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,
string16* status_label,
string16* link_label);
@@ -58,14 +60,16 @@ MessageType GetStatusLabelsForNewTabPage(ProfileSyncService* service,
// |menu_item_label|, |bubble_message|, and |bubble_accept_label| must not be
// NULL.
void GetStatusLabelsForSyncGlobalError(ProfileSyncService* service,
+ const SigninManager& signin,
string16* menu_item_label,
string16* bubble_message,
string16* bubble_accept_label);
-MessageType GetStatus(ProfileSyncService* service);
+MessageType GetStatus(ProfileSyncService* service, const SigninManager& signin);
// Returns a string with the synchronization status.
-string16 GetSyncMenuLabel(ProfileSyncService* service);
+string16 GetSyncMenuLabel(ProfileSyncService* service,
+ const SigninManager& signin);
void AddBoolSyncDetail(base::ListValue* details,
const std::string& stat_name,
« 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