| 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 COMPONENTS_KEYED_SERVICE_CONTENT_REFCOUNTED_BROWSER_CONTEXT_KEYED_SERVIC
E_FACTORY_H_ | 5 #ifndef COMPONENTS_KEYED_SERVICE_CONTENT_REFCOUNTED_BROWSER_CONTEXT_KEYED_SERVIC
E_FACTORY_H_ |
| 6 #define COMPONENTS_KEYED_SERVICE_CONTENT_REFCOUNTED_BROWSER_CONTEXT_KEYED_SERVIC
E_FACTORY_H_ | 6 #define COMPONENTS_KEYED_SERVICE_CONTENT_REFCOUNTED_BROWSER_CONTEXT_KEYED_SERVIC
E_FACTORY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "components/keyed_service/core/keyed_service_export.h" | 11 #include "components/keyed_service/core/keyed_service_export.h" |
| 12 #include "components/keyed_service/core/refcounted_keyed_service_factory.h" | 12 #include "components/keyed_service/core/refcounted_keyed_service_factory.h" |
| 13 | 13 |
| 14 class BrowserContextDependencyManager; | 14 class BrowserContextDependencyManager; |
| 15 class RefcountedKeyedService; | 15 class RefcountedKeyedService; |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 class BrowserContext; | 18 class BrowserContext; |
| 19 } | 19 } |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 base::SupportsUserData* context) const final; | 135 base::SupportsUserData* context) const final; |
| 136 bool ServiceIsCreatedWithContext() const final; | 136 bool ServiceIsCreatedWithContext() const final; |
| 137 void ContextShutdown(base::SupportsUserData* context) final; | 137 void ContextShutdown(base::SupportsUserData* context) final; |
| 138 void ContextDestroyed(base::SupportsUserData* context) final; | 138 void ContextDestroyed(base::SupportsUserData* context) final; |
| 139 void RegisterPrefs(user_prefs::PrefRegistrySyncable* registry) final; | 139 void RegisterPrefs(user_prefs::PrefRegistrySyncable* registry) final; |
| 140 | 140 |
| 141 DISALLOW_COPY_AND_ASSIGN(RefcountedBrowserContextKeyedServiceFactory); | 141 DISALLOW_COPY_AND_ASSIGN(RefcountedBrowserContextKeyedServiceFactory); |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 #endif // COMPONENTS_KEYED_SERVICE_CONTENT_REFCOUNTED_BROWSER_CONTEXT_KEYED_SER
VICE_FACTORY_H_ | 144 #endif // COMPONENTS_KEYED_SERVICE_CONTENT_REFCOUNTED_BROWSER_CONTEXT_KEYED_SER
VICE_FACTORY_H_ |
| OLD | NEW |