Chromium Code Reviews| 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); |