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 CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/extensions/api/identity/web_auth_flow.h" | 12 #include "chrome/browser/extensions/api/identity/web_auth_flow.h" |
13 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" | 13 #include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
14 #include "chrome/browser/extensions/app_notify_channel_setup.h" | |
15 #include "chrome/browser/extensions/extension_function.h" | 14 #include "chrome/browser/extensions/extension_function.h" |
16 #include "chrome/browser/extensions/extension_install_prompt.h" | 15 #include "chrome/browser/extensions/extension_install_prompt.h" |
17 #include "chrome/browser/ui/webui/signin/login_ui_service.h" | 16 #include "chrome/browser/ui/webui/signin/login_ui_service.h" |
18 #include "google_apis/gaia/oauth2_mint_token_flow.h" | 17 #include "google_apis/gaia/oauth2_mint_token_flow.h" |
19 | 18 |
20 class GetAuthTokenFunctionTest; | 19 class GetAuthTokenFunctionTest; |
21 class MockGetAuthTokenFunction; | 20 class MockGetAuthTokenFunction; |
22 class GoogleServiceAuthError; | 21 class GoogleServiceAuthError; |
23 class Profile; | 22 class Profile; |
24 | 23 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 // ProfileKeyedAPI implementation. | 127 // ProfileKeyedAPI implementation. |
129 static const char* service_name() { | 128 static const char* service_name() { |
130 return "IdentityAPI"; | 129 return "IdentityAPI"; |
131 } | 130 } |
132 static const bool kServiceIsNULLWhileTesting = true; | 131 static const bool kServiceIsNULLWhileTesting = true; |
133 }; | 132 }; |
134 | 133 |
135 } // namespace extensions | 134 } // namespace extensions |
136 | 135 |
137 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ | 136 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ |
OLD | NEW |