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_USER_NETWORK_CONFIGURATION_UPDATER_FACTOR
Y_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_FACTOR
Y_H_ |
6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_FACTOR
Y_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_FACTOR
Y_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.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 19 matching lines...) Expand all Loading... |
30 static UserNetworkConfigurationUpdaterFactory* GetInstance(); | 30 static UserNetworkConfigurationUpdaterFactory* GetInstance(); |
31 | 31 |
32 private: | 32 private: |
33 friend struct DefaultSingletonTraits<UserNetworkConfigurationUpdaterFactory>; | 33 friend struct DefaultSingletonTraits<UserNetworkConfigurationUpdaterFactory>; |
34 | 34 |
35 UserNetworkConfigurationUpdaterFactory(); | 35 UserNetworkConfigurationUpdaterFactory(); |
36 virtual ~UserNetworkConfigurationUpdaterFactory(); | 36 virtual ~UserNetworkConfigurationUpdaterFactory(); |
37 | 37 |
38 // BrowserContextKeyedServiceFactory: | 38 // BrowserContextKeyedServiceFactory: |
39 virtual content::BrowserContext* GetBrowserContextToUse( | 39 virtual content::BrowserContext* GetBrowserContextToUse( |
40 content::BrowserContext* context) const OVERRIDE; | 40 content::BrowserContext* context) const override; |
41 virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; | 41 virtual bool ServiceIsCreatedWithBrowserContext() const override; |
42 virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; | 42 virtual bool ServiceIsNULLWhileTesting() const override; |
43 virtual KeyedService* BuildServiceInstanceFor( | 43 virtual KeyedService* BuildServiceInstanceFor( |
44 content::BrowserContext* context) const OVERRIDE; | 44 content::BrowserContext* context) const override; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(UserNetworkConfigurationUpdaterFactory); | 46 DISALLOW_COPY_AND_ASSIGN(UserNetworkConfigurationUpdaterFactory); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace policy | 49 } // namespace policy |
50 | 50 |
51 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_FAC
TORY_H_ | 51 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_NETWORK_CONFIGURATION_UPDATER_FAC
TORY_H_ |
OLD | NEW |