| 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 3498a63731ae54fa2ae37c0a66a0b5332aca55e4..a729ebf1d577e8472a82a2056a11a38355531d5f 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.
|
| +// |style| sets the link properties, see |StatusLabelStyle|.
|
| MessageType GetStatusLabels(ProfileSyncService* service,
|
| + StatusLabelStyle style,
|
| string16* status_label,
|
| string16* link_label);
|
|
|
|
|