| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ |
| 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_OAUTH2_TOKEN_SERVICE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "content/public/browser/browser_context.h" | 11 #include "content/public/browser/browser_context.h" |
| 11 #include "google_apis/gaia/oauth2_access_token_fetcher_impl.h" | 12 #include "google_apis/gaia/oauth2_access_token_fetcher_impl.h" |
| 12 #include "google_apis/gaia/oauth2_token_service_delegate.h" | 13 #include "google_apis/gaia/oauth2_token_service_delegate.h" |
| 13 | 14 |
| 14 namespace content { | 15 namespace content { |
| 15 class BrowserContext; | 16 class BrowserContext; |
| 16 } | 17 } |
| 17 | 18 |
| 18 namespace extensions { | 19 namespace extensions { |
| 19 | 20 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 45 std::string account_id_; | 46 std::string account_id_; |
| 46 | 47 |
| 47 // Cached copy of an OAuth2 refresh token. Not stored on disk. | 48 // Cached copy of an OAuth2 refresh token. Not stored on disk. |
| 48 std::string refresh_token_; | 49 std::string refresh_token_; |
| 49 | 50 |
| 50 DISALLOW_COPY_AND_ASSIGN(ShellOAuth2TokenServiceDelegate); | 51 DISALLOW_COPY_AND_ASSIGN(ShellOAuth2TokenServiceDelegate); |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 } // namespace extensions | 54 } // namespace extensions |
| 54 #endif | 55 #endif |
| OLD | NEW |