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

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: Self-review fix. 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
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 881b51923637b0d44dee7912b6c51b2f6c7d07b7..a290c2d9ff2ec1df6c552e955f3ca90a4a6d2aaa 100644
--- a/chrome/browser/sync/sync_ui_util.h
+++ b/chrome/browser/sync/sync_ui_util.h
@@ -37,10 +37,11 @@ enum MessageType {
// 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.
MessageType GetStatusLabels(ProfileSyncService* service,
string16* status_label,
- string16* link_label);
+ string16* link_label,
+ bool html_links);
// Same as above but for use specifically on the New Tab Page.
// |status_label| may contain an HTML-formatted link.

Powered by Google App Engine
This is Rietveld 408576698