| 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,
|
|
|