Chromium Code Reviews| Index: google_apis/gaia/gaia_auth_util.h |
| diff --git a/google_apis/gaia/gaia_auth_util.h b/google_apis/gaia/gaia_auth_util.h |
| index f0b5e5de76c1db2e593b2eddf6c5e1797e8d3f80..eccfb0fc621628de4d2147565d17a4b4997e9cd1 100644 |
| --- a/google_apis/gaia/gaia_auth_util.h |
| +++ b/google_apis/gaia/gaia_auth_util.h |
| @@ -35,11 +35,13 @@ std::string ExtractDomainName(const std::string& email); |
| bool IsGaiaSignonRealm(const GURL& url); |
| -// Parses JSON data returned by /ListAccounts call, returns vector of |
| -// accounts (email addresses). If there an error parsing the JSON, then |
| -// false is returned. |
| -bool ParseListAccountsData(const std::string& data, |
| - std::vector<std::string>* accounts); |
| +// Parses JSON data returned by /ListAccounts call, returning a vector of |
| +// email/valid pairs. An email addresses is considered valid if a passive |
| +// login would succeed (i.e. the user does not need to reauthenticate). |
| +// If there an error parsing the JSON, then false is returned. |
| +bool ParseListAccountsData( |
| + const std::string& data, |
| + std::vector<std::pair<std::string, bool> >* accounts); |
|
bartfab (slow)
2014/02/17 15:22:04
Nit: #include <utility>
Roger Tawa OOO till Jul 10th
2014/02/18 19:37:54
Done.
|
| } // namespace gaia |