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

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

Issue 7906013: Show bubble and wrench menu item for sync error (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor into sync_ui_util Created 9 years, 3 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
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 80a12f4b29e83d672c9d58ffd82e93457dcbde5d..a3dbcd5ed272166f4890431f9b642ae93eb81e79 100644
--- a/chrome/browser/sync/sync_ui_util.h
+++ b/chrome/browser/sync/sync_ui_util.h
@@ -46,6 +46,12 @@ MessageType GetStatusLabelsForNewTabPage(ProfileSyncService* service,
string16* status_label,
string16* link_label);
+// Gets various labels for the sync global error based on the sync error state.
+MessageType GetStatusLabelsForSyncGlobalError(ProfileSyncService* service,
+ string16* menu_item_label,
+ string16* bubble_message,
+ string16* bubble_accept_label);
+
MessageType GetStatus(ProfileSyncService* service);
// Determines whether or not the sync error button should be visible.
@@ -75,5 +81,6 @@ void AddIntSyncDetail(base::ListValue* details,
void AddStringSyncDetails(ListValue* details, const std::string& stat_name,
const std::string& stat_value);
+
} // namespace sync_ui_util
#endif // CHROME_BROWSER_SYNC_SYNC_UI_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698