| 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_FACT
ORY_LINUX_H_ | 4 #ifndef CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_FACT
ORY_LINUX_H_ |
| 5 #define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_FACT
ORY_LINUX_H_ | 5 #define CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_FACT
ORY_LINUX_H_ |
| 6 | 6 |
| 7 #include "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
| 8 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 8 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
| 9 | 9 |
| 10 namespace context { | 10 namespace context { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 static NetworkingPrivateLinuxFactory* GetInstance(); | 22 static NetworkingPrivateLinuxFactory* GetInstance(); |
| 23 | 23 |
| 24 private: | 24 private: |
| 25 friend struct DefaultSingletonTraits<NetworkingPrivateLinuxFactory>; | 25 friend struct DefaultSingletonTraits<NetworkingPrivateLinuxFactory>; |
| 26 | 26 |
| 27 NetworkingPrivateLinuxFactory(); | 27 NetworkingPrivateLinuxFactory(); |
| 28 virtual ~NetworkingPrivateLinuxFactory(); | 28 virtual ~NetworkingPrivateLinuxFactory(); |
| 29 | 29 |
| 30 // BrowserContextKeyedServiceFactory: | 30 // BrowserContextKeyedServiceFactory: |
| 31 virtual KeyedService* BuildServiceInstanceFor( | 31 virtual KeyedService* BuildServiceInstanceFor( |
| 32 content::BrowserContext* browser_context) const OVERRIDE; | 32 content::BrowserContext* browser_context) const override; |
| 33 virtual bool ServiceIsCreatedWithBrowserContext() const OVERRIDE; | 33 virtual bool ServiceIsCreatedWithBrowserContext() const override; |
| 34 virtual bool ServiceIsNULLWhileTesting() const OVERRIDE; | 34 virtual bool ServiceIsNULLWhileTesting() const override; |
| 35 | 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinuxFactory); | 36 DISALLOW_COPY_AND_ASSIGN(NetworkingPrivateLinuxFactory); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace extensions | 39 } // namespace extensions |
| 40 | 40 |
| 41 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_F
ACTORY_LINUX_H_ | 41 #endif // CHROME_BROWSER_EXTENSIONS_API_NETWORKING_PRIVATE_NETWORKING_PRIVATE_F
ACTORY_LINUX_H_ |
| OLD | NEW |