Index: chrome/browser/signin/signin_ui_util.h |
diff --git a/chrome/browser/signin/signin_ui_util.h b/chrome/browser/signin/signin_ui_util.h |
index 7e1a5dc54565ed4426418efe3e7d0aeb9c561af4..943573801cea8cfaa043424e26a3c56c86530733 100644 |
--- a/chrome/browser/signin/signin_ui_util.h |
+++ b/chrome/browser/signin/signin_ui_util.h |
@@ -20,6 +20,17 @@ |
// The maximum number of times to show the welcome tutorial for an upgrade user. |
const int kUpgradeWelcomeTutorialShowMax = 1; |
+// If a signed in service is reporting an error, returns the GlobalError |
+// object associated with that service, or NULL if no errors are reported. |
+GlobalError* GetSignedInServiceError(Profile* profile); |
+ |
+// Returns all errors reported by signed in services. |
+std::vector<GlobalError*> GetSignedInServiceErrors(Profile* profile); |
+ |
+// Returns the label that should be displayed in the signin menu (i.e. |
+// "Sign in to Chromium", "Signin Error...", etc). |
+base::string16 GetSigninMenuLabel(Profile* profile); |
+ |
void GetStatusLabelsForAuthError(Profile* profile, |
const SigninManagerBase& signin_manager, |
base::string16* status_label, |