| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_POLICY_POLICY_CERT_SERVICE_FACTORY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_FACTORY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_FACTORY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_FACTORY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 static void RegisterPrefs(PrefRegistrySimple* local_state); | 49 static void RegisterPrefs(PrefRegistrySimple* local_state); |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 friend struct DefaultSingletonTraits<PolicyCertServiceFactory>; | 52 friend struct DefaultSingletonTraits<PolicyCertServiceFactory>; |
| 53 | 53 |
| 54 PolicyCertServiceFactory(); | 54 PolicyCertServiceFactory(); |
| 55 virtual ~PolicyCertServiceFactory(); | 55 virtual ~PolicyCertServiceFactory(); |
| 56 | 56 |
| 57 // BrowserContextKeyedServiceFactory: | 57 // BrowserContextKeyedServiceFactory: |
| 58 virtual KeyedService* BuildServiceInstanceFor( | 58 virtual KeyedService* BuildServiceInstanceFor( |
| 59 content::BrowserContext* context) const OVERRIDE; | 59 content::BrowserContext* context) const override; |
| 60 virtual content::BrowserContext* GetBrowserContextToUse( | 60 virtual content::BrowserContext* GetBrowserContextToUse( |
| 61 content::BrowserContext* context) const OVERRIDE; | 61 content::BrowserContext* context) const override; |
| 62 virtual void RegisterProfilePrefs( | 62 virtual void RegisterProfilePrefs( |
| 63 user_prefs::PrefRegistrySyncable* registry) OVERRIDE; | 63 user_prefs::PrefRegistrySyncable* registry) override; |
| 64 virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; | 64 virtual bool ServiceIsNULLWhileTesting() const override; |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(PolicyCertServiceFactory); | 66 DISALLOW_COPY_AND_ASSIGN(PolicyCertServiceFactory); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace policy | 69 } // namespace policy |
| 70 | 70 |
| 71 #endif // CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_FACTORY_H_ | 71 #endif // CHROME_BROWSER_CHROMEOS_POLICY_POLICY_CERT_SERVICE_FACTORY_H_ |
| OLD | NEW |