Chromium Code Reviews| 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..4420b2e689f33f2efca1d4bd8c9ec0b50a7185bd 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,12 @@ 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 accounts associated with the profile that are not equal to |
| +// the |primary_account|. |
|
Alexei Svitkine (slow)
2014/01/08 21:28:37
Nit: Mention what these strings are - e.g. email a
noms (inactive)
2014/01/08 21:35:13
Done.
|
| +std::vector<std::string> GetSecondaryAccountsForProfile( |
| + Profile* profile, const std::string& primary_account); |
| + |
| } // namespace profiles |
| #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |