| 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 EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_API_FACTORY_H_ | 5 #ifndef EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_API_FACTORY_H_ |
| 6 #define EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_API_FACTORY_H_ | 6 #define EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_API_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 9 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
| 9 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" | 10 #include "components/keyed_service/content/browser_context_keyed_service_factory
.h" |
| 10 #include "components/keyed_service/core/keyed_service.h" | 11 #include "components/keyed_service/core/keyed_service.h" |
| 11 #include "extensions/browser/extension_system_provider.h" | 12 #include "extensions/browser/extension_system_provider.h" |
| 12 #include "extensions/browser/extensions_browser_client.h" | 13 #include "extensions/browser/extensions_browser_client.h" |
| 13 | 14 |
| 14 namespace extensions { | 15 namespace extensions { |
| 15 | 16 |
| 16 template <typename T> | 17 template <typename T> |
| 17 class BrowserContextKeyedAPIFactory; | 18 class BrowserContextKeyedAPIFactory; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 bool ServiceIsNULLWhileTesting() const override { | 133 bool ServiceIsNULLWhileTesting() const override { |
| 133 return T::kServiceIsNULLWhileTesting; | 134 return T::kServiceIsNULLWhileTesting; |
| 134 } | 135 } |
| 135 | 136 |
| 136 DISALLOW_COPY_AND_ASSIGN(BrowserContextKeyedAPIFactory); | 137 DISALLOW_COPY_AND_ASSIGN(BrowserContextKeyedAPIFactory); |
| 137 }; | 138 }; |
| 138 | 139 |
| 139 } // namespace extensions | 140 } // namespace extensions |
| 140 | 141 |
| 141 #endif // EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_API_FACTORY_H_ | 142 #endif // EXTENSIONS_BROWSER_BROWSER_CONTEXT_KEYED_API_FACTORY_H_ |
| OLD | NEW |