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 98ab453f530148bc78d46db7dd3fd229614fc07a..8f9fa55b653a0e1bc84ca58b2d832562c4a18fe4 100644 |
--- a/chrome/browser/sync/sync_ui_util.h |
+++ b/chrome/browser/sync/sync_ui_util.h |
@@ -27,6 +27,14 @@ enum MessageType { |
// attention, but not as an error. |
}; |
+// The action associated with the sync status. |
+enum ActionType { |
+ NO_ACTION, // No action to take. |
+ REAUTHENTICATE, // User needs to reauthenticate. |
+ UPGRADE_CLIENT, // User needs to upgrade the client. |
+ ENTER_PASSPHRASE, // User needs to enter their passphrase. |
+}; |
+ |
enum StatusLabelStyle { |
PLAIN_TEXT, // Label will be plain-text only. |
WITH_HTML // Label may contain an HTML-formatted link. |
@@ -54,7 +62,8 @@ MessageType GetStatusLabels(Profile* profile, |
const SigninManagerBase& signin, |
StatusLabelStyle style, |
base::string16* status_label, |
- base::string16* link_label); |
+ base::string16* link_label, |
+ ActionType* action_type); |
// Same as above but for use specifically on the New Tab Page. |
// |status_label| may contain an HTML-formatted link. |