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

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

Issue 8383036: Adding parameter to GetStatusLabels to indicate if links are acceptable. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix following try test. Created 9 years, 2 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/profile_sync_service_mock.h ('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 2ded4eba00f322238b4960a76ee570891506438b..5e5717a30762b5ad5f62e10eca1e7437096419f0 100644
--- a/chrome/browser/sync/sync_ui_util.h
+++ b/chrome/browser/sync/sync_ui_util.h
@@ -32,13 +32,19 @@ enum MessageType {
// attention, but not as an error.
};
+enum StatusLabelStyle {
+ PLAIN_TEXT, // Label will be plain-text only.
+ WITH_HTML // Label may contain an HTML-formatted link.
+};
+
// TODO(akalin): audit the use of ProfileSyncService* service below,
// and use const ProfileSyncService& service where possible.
// Create status and link labels for the current status labels and link text
// by querying |service|.
-// |status_label| may contain an HTML-formatted link.
+// If |html_links| is true, |status_label| may contain an HTML-formatted link.
akalin 2011/11/02 23:36:28 update comment
jimblackler 2011/11/04 13:11:49 Done.
MessageType GetStatusLabels(ProfileSyncService* service,
+ StatusLabelStyle style,
string16* status_label,
string16* link_label);
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.h ('k') | chrome/browser/sync/sync_ui_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698