| 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_IOS_BROWSER_STATE_KEYED_SERVICE_FACTORY_H_ | 5 #ifndef COMPONENTS_KEYED_SERVICE_IOS_BROWSER_STATE_KEYED_SERVICE_FACTORY_H_ |
| 6 #define COMPONENTS_KEYED_SERVICE_IOS_BROWSER_STATE_KEYED_SERVICE_FACTORY_H_ | 6 #define COMPONENTS_KEYED_SERVICE_IOS_BROWSER_STATE_KEYED_SERVICE_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/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.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/keyed_service_factory.h" | 12 #include "components/keyed_service/core/keyed_service_factory.h" |
| 13 | 13 |
| 14 class BrowserStateDependencyManager; | 14 class BrowserStateDependencyManager; |
| 15 class KeyedService; | 15 class KeyedService; |
| 16 | 16 |
| 17 namespace web { | 17 namespace web { |
| 18 class BrowserState; | 18 class BrowserState; |
| 19 } | 19 } |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 base::SupportsUserData* context) const final; | 125 base::SupportsUserData* context) const final; |
| 126 bool ServiceIsCreatedWithContext() const final; | 126 bool ServiceIsCreatedWithContext() const final; |
| 127 void ContextShutdown(base::SupportsUserData* context) final; | 127 void ContextShutdown(base::SupportsUserData* context) final; |
| 128 void ContextDestroyed(base::SupportsUserData* context) final; | 128 void ContextDestroyed(base::SupportsUserData* context) final; |
| 129 void RegisterPrefs(user_prefs::PrefRegistrySyncable* registry) final; | 129 void RegisterPrefs(user_prefs::PrefRegistrySyncable* registry) final; |
| 130 | 130 |
| 131 DISALLOW_COPY_AND_ASSIGN(BrowserStateKeyedServiceFactory); | 131 DISALLOW_COPY_AND_ASSIGN(BrowserStateKeyedServiceFactory); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 #endif // COMPONENTS_KEYED_SERVICE_IOS_BROWSER_STATE_KEYED_SERVICE_FACTORY_H_ | 134 #endif // COMPONENTS_KEYED_SERVICE_IOS_BROWSER_STATE_KEYED_SERVICE_FACTORY_H_ |
| OLD | NEW |