| 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_EXTENSIONS_EXTENSION_MANAGEMENT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 private: | 174 private: |
| 175 friend struct DefaultSingletonTraits<ExtensionManagementFactory>; | 175 friend struct DefaultSingletonTraits<ExtensionManagementFactory>; |
| 176 | 176 |
| 177 ExtensionManagementFactory(); | 177 ExtensionManagementFactory(); |
| 178 virtual ~ExtensionManagementFactory(); | 178 virtual ~ExtensionManagementFactory(); |
| 179 | 179 |
| 180 // BrowserContextKeyedServiceExtensionManagementFactory: | 180 // BrowserContextKeyedServiceExtensionManagementFactory: |
| 181 virtual KeyedService* BuildServiceInstanceFor( | 181 virtual KeyedService* BuildServiceInstanceFor( |
| 182 content::BrowserContext* context) const OVERRIDE; | 182 content::BrowserContext* context) const OVERRIDE; |
| 183 virtual content::BrowserContext* GetBrowserContextToUse( |
| 184 content::BrowserContext* context) const OVERRIDE; |
| 183 | 185 |
| 184 DISALLOW_COPY_AND_ASSIGN(ExtensionManagementFactory); | 186 DISALLOW_COPY_AND_ASSIGN(ExtensionManagementFactory); |
| 185 }; | 187 }; |
| 186 | 188 |
| 187 } // namespace extensions | 189 } // namespace extensions |
| 188 | 190 |
| 189 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_H_ | 191 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGEMENT_H_ |
| OLD | NEW |