Chromium Code Reviews| Index: chrome/browser/chromeos/login/signin/oauth2_token_fetcher.h |
| diff --git a/chrome/browser/chromeos/login/signin/oauth2_token_fetcher.h b/chrome/browser/chromeos/login/signin/oauth2_token_fetcher.h |
| index 7f11d0cfcd5b6d364e661d8c3373a09768516e35..ceda7c1c092794dfc6adf5aff6472ec0fe12b1e0 100644 |
| --- a/chrome/browser/chromeos/login/signin/oauth2_token_fetcher.h |
| +++ b/chrome/browser/chromeos/login/signin/oauth2_token_fetcher.h |
| @@ -38,7 +38,8 @@ class OAuth2TokenFetcher : public base::SupportsWeakPtr<OAuth2TokenFetcher>, |
| net::URLRequestContextGetter* context_getter); |
| virtual ~OAuth2TokenFetcher(); |
| - void StartExchangeFromCookies(const std::string& session_index); |
| + void StartExchangeFromCookies(const std::string& session_index, |
| + const std::string& signin_scoped_device_id); |
| void StartExchangeFromAuthCode(const std::string& auth_code); |
|
dzhioev (left Google)
2014/07/18 13:31:52
Don't we need device id for auth code authenticati
pavely
2014/07/18 22:30:04
The way how (I think) exchange with gaia works is:
|
| private: |
| @@ -63,6 +64,7 @@ class OAuth2TokenFetcher : public base::SupportsWeakPtr<OAuth2TokenFetcher>, |
| // The retry counter. Increment this only when failure happened. |
| int retry_count_; |
| std::string session_index_; |
| + std::string signin_scoped_device_id_; |
| std::string auth_code_; |
| DISALLOW_COPY_AND_ASSIGN(OAuth2TokenFetcher); |