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

Side by Side Diff: components/keyed_service/content/refcounted_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
« no previous file with comments | « components/keyed_service/content/browser_context_keyed_service_factory.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/refcounted_browser_context_keyed_serv ice_factory.h" 5 #include "components/keyed_service/content/refcounted_browser_context_keyed_serv ice_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"
12 #include "components/keyed_service/core/refcounted_keyed_service.h" 10 #include "components/keyed_service/core/refcounted_keyed_service.h"
13 #include "components/pref_registry/pref_registry_syncable.h" 11 #include "components/pref_registry/pref_registry_syncable.h"
14 #include "components/user_prefs/user_prefs.h" 12 #include "components/user_prefs/user_prefs.h"
15 #include "content/public/browser/browser_context.h" 13 #include "content/public/browser/browser_context.h"
16 14
17 void RefcountedBrowserContextKeyedServiceFactory::SetTestingFactory( 15 void RefcountedBrowserContextKeyedServiceFactory::SetTestingFactory(
18 content::BrowserContext* context, 16 content::BrowserContext* context,
19 TestingFactoryFunction testing_factory) { 17 TestingFactoryFunction testing_factory) {
20 RefcountedKeyedServiceFactory::SetTestingFactory( 18 RefcountedKeyedServiceFactory::SetTestingFactory(
21 context, 19 context,
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 131
134 void RefcountedBrowserContextKeyedServiceFactory::ContextDestroyed( 132 void RefcountedBrowserContextKeyedServiceFactory::ContextDestroyed(
135 base::SupportsUserData* context) { 133 base::SupportsUserData* context) {
136 BrowserContextDestroyed(static_cast<content::BrowserContext*>(context)); 134 BrowserContextDestroyed(static_cast<content::BrowserContext*>(context));
137 } 135 }
138 136
139 void RefcountedBrowserContextKeyedServiceFactory::RegisterPrefs( 137 void RefcountedBrowserContextKeyedServiceFactory::RegisterPrefs(
140 user_prefs::PrefRegistrySyncable* registry) { 138 user_prefs::PrefRegistrySyncable* registry) {
141 RegisterProfilePrefs(registry); 139 RegisterProfilePrefs(registry);
142 } 140 }
OLDNEW
« no previous file with comments | « components/keyed_service/content/browser_context_keyed_service_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698