OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
9 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
10 | 11 |
11 class Profile; | 12 class Profile; |
12 | 13 |
13 namespace chromeos { | 14 namespace chromeos { |
14 | 15 |
15 class OAuth2LoginManager; | 16 class OAuth2LoginManager; |
16 | 17 |
17 // Singleton that owns all OAuth2LoginManager and associates them with | 18 // Singleton that owns all OAuth2LoginManager and associates them with |
(...skipping 18 matching lines...) Expand all Loading... |
36 // BrowserContextKeyedServiceFactory implementation. | 37 // BrowserContextKeyedServiceFactory implementation. |
37 KeyedService* BuildServiceInstanceFor( | 38 KeyedService* BuildServiceInstanceFor( |
38 content::BrowserContext* context) const override; | 39 content::BrowserContext* context) const override; |
39 | 40 |
40 DISALLOW_COPY_AND_ASSIGN(OAuth2LoginManagerFactory); | 41 DISALLOW_COPY_AND_ASSIGN(OAuth2LoginManagerFactory); |
41 }; | 42 }; |
42 | 43 |
43 } // namespace chromeos | 44 } // namespace chromeos |
44 | 45 |
45 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ | 46 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_OAUTH2_LOGIN_MANAGER_FACTORY_H_ |
OLD | NEW |