Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: components/keyed_service/content/browser_context_keyed_service_factory.cc

Issue 701463003: Cleanup #include in //components/keyed_service/content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@419366.a
Patch Set: Remove another #include Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 5 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "base/stl_util.h"
10 #include "components/keyed_service/content/browser_context_dependency_manager.h" 9 #include "components/keyed_service/content/browser_context_dependency_manager.h"
11 #include "components/keyed_service/core/keyed_service.h" 10 #include "components/keyed_service/core/keyed_service.h"
12 #include "components/pref_registry/pref_registry_syncable.h" 11 #include "components/pref_registry/pref_registry_syncable.h"
13 #include "components/user_prefs/user_prefs.h" 12 #include "components/user_prefs/user_prefs.h"
14 #include "content/public/browser/browser_context.h" 13 #include "content/public/browser/browser_context.h"
15 14
16 void BrowserContextKeyedServiceFactory::SetTestingFactory( 15 void BrowserContextKeyedServiceFactory::SetTestingFactory(
17 content::BrowserContext* context, 16 content::BrowserContext* context,
18 TestingFactoryFunction testing_factory) { 17 TestingFactoryFunction testing_factory) {
19 KeyedServiceFactory::SetTestingFactory( 18 KeyedServiceFactory::SetTestingFactory(
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 124
126 void BrowserContextKeyedServiceFactory::ContextDestroyed( 125 void BrowserContextKeyedServiceFactory::ContextDestroyed(
127 base::SupportsUserData* context) { 126 base::SupportsUserData* context) {
128 BrowserContextDestroyed(static_cast<content::BrowserContext*>(context)); 127 BrowserContextDestroyed(static_cast<content::BrowserContext*>(context));
129 } 128 }
130 129
131 void BrowserContextKeyedServiceFactory::RegisterPrefs( 130 void BrowserContextKeyedServiceFactory::RegisterPrefs(
132 user_prefs::PrefRegistrySyncable* registry) { 131 user_prefs::PrefRegistrySyncable* registry) {
133 RegisterProfilePrefs(registry); 132 RegisterProfilePrefs(registry);
134 } 133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698