| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_ | 5 #ifndef CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_ |
| 6 #define CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_ | 6 #define CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/access_token_store.h" | 8 #include "content/public/browser/access_token_store.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 void GetRequestContextOnUIThread( | 22 void GetRequestContextOnUIThread( |
| 23 content::ShellBrowserContext* shell_browser_context); | 23 content::ShellBrowserContext* shell_browser_context); |
| 24 void RespondOnOriginatingThread(const LoadAccessTokensCallbackType& callback); | 24 void RespondOnOriginatingThread(const LoadAccessTokensCallbackType& callback); |
| 25 | 25 |
| 26 // AccessTokenStore | 26 // AccessTokenStore |
| 27 virtual void LoadAccessTokens( | 27 virtual void LoadAccessTokens( |
| 28 const LoadAccessTokensCallbackType& callback) OVERRIDE; | 28 const LoadAccessTokensCallbackType& callback) OVERRIDE; |
| 29 | 29 |
| 30 virtual void SaveAccessToken( | 30 virtual void SaveAccessToken( |
| 31 const GURL& server_url, const string16& access_token) OVERRIDE; | 31 const GURL& server_url, const base::string16& access_token) OVERRIDE; |
| 32 | 32 |
| 33 content::ShellBrowserContext* shell_browser_context_; | 33 content::ShellBrowserContext* shell_browser_context_; |
| 34 net::URLRequestContextGetter* system_request_context_; | 34 net::URLRequestContextGetter* system_request_context_; |
| 35 | 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(ShellAccessTokenStore); | 36 DISALLOW_COPY_AND_ASSIGN(ShellAccessTokenStore); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace content | 39 } // namespace content |
| 40 | 40 |
| 41 #endif // CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_ | 41 #endif // CONTENT_SHELL_GEOLOCATION_SHELL_ACCESS_TOKEN_STORE_H_ |
| OLD | NEW |