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

Side by Side Diff: chrome/browser/profiles/profile_dependency_manager.cc

Issue 10201016: Conflict detection for Extension Keybinding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/profiles/profile_dependency_manager.h" 5 #include "chrome/browser/profiles/profile_dependency_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <iterator> 9 #include <iterator>
10 10
11 #include "chrome/browser/autocomplete/network_action_predictor_factory.h" 11 #include "chrome/browser/autocomplete/network_action_predictor_factory.h"
12 #include "chrome/browser/autofill/personal_data_manager_factory.h" 12 #include "chrome/browser/autofill/personal_data_manager_factory.h"
13 #include "chrome/browser/background/background_contents_service_factory.h" 13 #include "chrome/browser/background/background_contents_service_factory.h"
14 #include "chrome/browser/content_settings/cookie_settings.h" 14 #include "chrome/browser/content_settings/cookie_settings.h"
15 #include "chrome/browser/download/download_service_factory.h" 15 #include "chrome/browser/download/download_service_factory.h"
16 #include "chrome/browser/extensions/extension_command_service_factory.h"
16 #include "chrome/browser/intents/web_intents_registry_factory.h" 17 #include "chrome/browser/intents/web_intents_registry_factory.h"
17 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 18 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
18 #include "chrome/browser/password_manager/password_store_factory.h" 19 #include "chrome/browser/password_manager/password_store_factory.h"
19 #include "chrome/browser/plugin_prefs_factory.h" 20 #include "chrome/browser/plugin_prefs_factory.h"
20 #include "chrome/browser/prerender/prerender_manager_factory.h" 21 #include "chrome/browser/prerender/prerender_manager_factory.h"
21 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 22 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
22 #include "chrome/browser/profiles/profile.h" 23 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/browser/profiles/profile_keyed_service.h" 24 #include "chrome/browser/profiles/profile_keyed_service.h"
24 #include "chrome/browser/profiles/profile_keyed_service_factory.h" 25 #include "chrome/browser/profiles/profile_keyed_service_factory.h"
25 #include "chrome/browser/protector/protector_service_factory.h" 26 #include "chrome/browser/protector/protector_service_factory.h"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // 169 //
169 // TODO(erg): This needs to be something else. I don't think putting every 170 // TODO(erg): This needs to be something else. I don't think putting every
170 // FooServiceFactory here will scale or is desireable long term. 171 // FooServiceFactory here will scale or is desireable long term.
171 void ProfileDependencyManager::AssertFactoriesBuilt() { 172 void ProfileDependencyManager::AssertFactoriesBuilt() {
172 if (built_factories_) 173 if (built_factories_)
173 return; 174 return;
174 175
175 ChromeURLDataManagerFactory::GetInstance(); 176 ChromeURLDataManagerFactory::GetInstance();
176 CookieSettings::Factory::GetInstance(); 177 CookieSettings::Factory::GetInstance();
177 DownloadServiceFactory::GetInstance(); 178 DownloadServiceFactory::GetInstance();
179 ExtensionCommandServiceFactory::GetInstance();
Yoyo Zhou 2012/05/01 01:52:49 Comment for erg: I realize that I never added Exte
Elliot Glaysher 2012/05/01 17:42:50 Yes, it should be here for registration purposes.
Finnur 2012/05/02 13:50:45 Done.
178 FindBarStateFactory::GetInstance(); 180 FindBarStateFactory::GetInstance();
179 #if defined(USE_AURA) 181 #if defined(USE_AURA)
180 GesturePrefsObserverFactoryAura::GetInstance(); 182 GesturePrefsObserverFactoryAura::GetInstance();
181 #endif 183 #endif
182 GlobalErrorServiceFactory::GetInstance(); 184 GlobalErrorServiceFactory::GetInstance();
183 NetworkActionPredictorFactory::GetInstance(); 185 NetworkActionPredictorFactory::GetInstance();
184 NTPResourceCacheFactory::GetInstance(); 186 NTPResourceCacheFactory::GetInstance();
185 PasswordStoreFactory::GetInstance(); 187 PasswordStoreFactory::GetInstance();
186 PersonalDataManagerFactory::GetInstance(); 188 PersonalDataManagerFactory::GetInstance();
187 PluginPrefsFactory::GetInstance(); 189 PluginPrefsFactory::GetInstance();
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 } 328 }
327 329
328 result.append("\n /* Toplevel profile */\n"); 330 result.append("\n /* Toplevel profile */\n");
329 result.append(" Profile [shape=box];\n"); 331 result.append(" Profile [shape=box];\n");
330 332
331 result.append("}\n"); 333 result.append("}\n");
332 return result; 334 return result;
333 } 335 }
334 336
335 #endif 337 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698