Index: chrome/browser/profiles/profiles_state.h |
diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h |
index 782fb3adf330a84dd0f469922125cd1fb5579fff..846d2b282b60b137023dfe238d76b8f734b4ca4e 100644 |
--- a/chrome/browser/profiles/profiles_state.h |
+++ b/chrome/browser/profiles/profiles_state.h |
@@ -5,6 +5,7 @@ |
#ifndef CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |
#define CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |
+#include <vector> |
#include "base/strings/string16.h" |
class Browser; |
@@ -35,6 +36,13 @@ base::string16 GetActiveProfileDisplayName(Browser* browser); |
void UpdateProfileName(Profile* profile, |
const base::string16& new_profile_name); |
+// Returns the list of secondary accounts for a specific |profile|, which is |
+// all the email addresses associated with the profile that are not equal to |
+// the |primary_account|. |
+std::vector<std::string> GetSecondaryAccountsForProfile( |
+ Profile* profile, |
+ const std::string& primary_account); |
+ |
} // namespace profiles |
#endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |