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_SIGNIN_EASY_UNLOCK_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_FACTORY_H_ |
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_FACTORY_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 private: | 34 private: |
35 friend struct base::DefaultSingletonTraits<EasyUnlockServiceFactory>; | 35 friend struct base::DefaultSingletonTraits<EasyUnlockServiceFactory>; |
36 | 36 |
37 EasyUnlockServiceFactory(); | 37 EasyUnlockServiceFactory(); |
38 ~EasyUnlockServiceFactory() override; | 38 ~EasyUnlockServiceFactory() override; |
39 | 39 |
40 // BrowserContextKeyedServiceFactory: | 40 // BrowserContextKeyedServiceFactory: |
41 KeyedService* BuildServiceInstanceFor( | 41 KeyedService* BuildServiceInstanceFor( |
42 content::BrowserContext* context) const override; | 42 content::BrowserContext* context) const override; |
| 43 void RegisterProfilePrefs( |
| 44 user_prefs::PrefRegistrySyncable* registry) override; |
43 content::BrowserContext* GetBrowserContextToUse( | 45 content::BrowserContext* GetBrowserContextToUse( |
44 content::BrowserContext* context) const override; | 46 content::BrowserContext* context) const override; |
45 bool ServiceIsCreatedWithBrowserContext() const override; | 47 bool ServiceIsCreatedWithBrowserContext() const override; |
46 bool ServiceIsNULLWhileTesting() const override; | 48 bool ServiceIsNULLWhileTesting() const override; |
47 | 49 |
48 base::FilePath app_path_for_testing_; | 50 base::FilePath app_path_for_testing_; |
49 | 51 |
50 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceFactory); | 52 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceFactory); |
51 }; | 53 }; |
52 | 54 |
53 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_FACTORY_H_ | 55 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_FACTORY_H_ |
OLD | NEW |