diff options
author | Ben Murdoch <benm@google.com> | 2013-07-10 11:40:50 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2013-07-10 11:40:50 +0100 |
commit | eb525c5499e34cc9c4b825d6d9e75bb07cc06ace (patch) | |
tree | d908ce4bfe1717d2cd53f41327d8b9ba8304355f /chrome/browser/signin/signin_ui_util.h | |
parent | 3c54152607de4272b3da0c146b71dcba8a0e5610 (diff) | |
download | chromium_org-eb525c5499e34cc9c4b825d6d9e75bb07cc06ace.tar.gz |
Merge from Chromium at DEPS revision r210036
This commit was generated by merge_to_master.py.
Change-Id: Ib0e33a83ad5dfa541481e83d7acfc6970e68f471
Diffstat (limited to 'chrome/browser/signin/signin_ui_util.h')
-rw-r--r-- | chrome/browser/signin/signin_ui_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/signin/signin_ui_util.h b/chrome/browser/signin/signin_ui_util.h index decae32c80..3e63e1a2fe 100644 --- a/chrome/browser/signin/signin_ui_util.h +++ b/chrome/browser/signin/signin_ui_util.h @@ -5,6 +5,8 @@ #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_ #define CHROME_BROWSER_SIGNIN_SIGNIN_UI_UTIL_H_ +#include <vector> + #include "base/strings/string16.h" class GlobalError; @@ -19,6 +21,9 @@ namespace signin_ui_util { // 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); + // Return the label that should be displayed in the signin menu (i.e. // "Sign in to Chromium", "Signin Error...", etc). string16 GetSigninMenuLabel(Profile* profile); |