| 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_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FACTOR
Y_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FACTOR
Y_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FACTOR
Y_H_ | 6 #define CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FACTOR
Y_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 friend struct DefaultSingletonTraits<OwnerSettingsServiceChromeOSFactory>; | 38 friend struct DefaultSingletonTraits<OwnerSettingsServiceChromeOSFactory>; |
| 39 | 39 |
| 40 OwnerSettingsServiceChromeOSFactory(); | 40 OwnerSettingsServiceChromeOSFactory(); |
| 41 virtual ~OwnerSettingsServiceChromeOSFactory(); | 41 virtual ~OwnerSettingsServiceChromeOSFactory(); |
| 42 | 42 |
| 43 static KeyedService* BuildInstanceFor(content::BrowserContext* context); | 43 static KeyedService* BuildInstanceFor(content::BrowserContext* context); |
| 44 | 44 |
| 45 // BrowserContextKeyedBaseFactory overrides: | 45 // BrowserContextKeyedBaseFactory overrides: |
| 46 virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; | 46 virtual bool ServiceIsCreatedWithBrowserContext() const override; |
| 47 | 47 |
| 48 // BrowserContextKeyedServiceFactory implementation: | 48 // BrowserContextKeyedServiceFactory implementation: |
| 49 virtual KeyedService* BuildServiceInstanceFor( | 49 virtual KeyedService* BuildServiceInstanceFor( |
| 50 content::BrowserContext* browser_context) const OVERRIDE; | 50 content::BrowserContext* browser_context) const override; |
| 51 | 51 |
| 52 scoped_refptr<ownership::OwnerKeyUtil> owner_key_util_; | 52 scoped_refptr<ownership::OwnerKeyUtil> owner_key_util_; |
| 53 | 53 |
| 54 DISALLOW_COPY_AND_ASSIGN(OwnerSettingsServiceChromeOSFactory); | 54 DISALLOW_COPY_AND_ASSIGN(OwnerSettingsServiceChromeOSFactory); |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace chromeos | 57 } // namespace chromeos |
| 58 | 58 |
| 59 #endif // CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FAC
TORY_H_ | 59 #endif // CHROME_BROWSER_CHROMEOS_OWNERSHIP_OWNER_SETTINGS_SERVICE_CHROMEOS_FAC
TORY_H_ |
| OLD | NEW |