| OLD | NEW |
| 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 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "chrome/browser/speech/speech_input_extension_manager.h" | 41 #include "chrome/browser/speech/speech_input_extension_manager.h" |
| 42 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 42 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
| 43 #include "chrome/browser/sync/profile_sync_service_factory.h" | 43 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 44 #include "chrome/browser/themes/theme_service_factory.h" | 44 #include "chrome/browser/themes/theme_service_factory.h" |
| 45 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 45 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
| 46 #include "chrome/browser/ui/global_error_service_factory.h" | 46 #include "chrome/browser/ui/global_error_service_factory.h" |
| 47 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 47 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
| 48 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" | 48 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" |
| 49 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 49 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| 50 #include "chrome/browser/user_style_sheet_watcher_factory.h" | 50 #include "chrome/browser/user_style_sheet_watcher_factory.h" |
| 51 #include "chrome/browser/webdata/web_data_service_factory.h" |
| 52 |
| 53 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 54 #include "chrome/browser/policy/managed_mode_policy_provider_factory.h" |
| 55 #endif |
| 56 |
| 51 #if defined(USE_AURA) | 57 #if defined(USE_AURA) |
| 52 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" | 58 #include "chrome/browser/ui/gesture_prefs_observer_factory_aura.h" |
| 53 #endif | 59 #endif |
| 54 #include "chrome/browser/webdata/web_data_service_factory.h" | 60 |
| 55 #ifndef NDEBUG | 61 #ifndef NDEBUG |
| 56 #include "base/command_line.h" | 62 #include "base/command_line.h" |
| 57 #include "base/file_util.h" | 63 #include "base/file_util.h" |
| 58 #include "chrome/common/chrome_switches.h" | 64 #include "chrome/common/chrome_switches.h" |
| 59 #endif | 65 #endif |
| 60 | 66 |
| 61 class Profile; | 67 class Profile; |
| 62 | 68 |
| 63 void ProfileDependencyManager::AddComponent( | 69 void ProfileDependencyManager::AddComponent( |
| 64 ProfileKeyedBaseFactory* component) { | 70 ProfileKeyedBaseFactory* component) { |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 extensions::CommandServiceFactory::GetInstance(); | 205 extensions::CommandServiceFactory::GetInstance(); |
| 200 extensions::SuggestedLinksRegistryFactory::GetInstance(); | 206 extensions::SuggestedLinksRegistryFactory::GetInstance(); |
| 201 ExtensionSystemFactory::GetInstance(); | 207 ExtensionSystemFactory::GetInstance(); |
| 202 FindBarStateFactory::GetInstance(); | 208 FindBarStateFactory::GetInstance(); |
| 203 #if defined(USE_AURA) | 209 #if defined(USE_AURA) |
| 204 GesturePrefsObserverFactoryAura::GetInstance(); | 210 GesturePrefsObserverFactoryAura::GetInstance(); |
| 205 #endif | 211 #endif |
| 206 GlobalErrorServiceFactory::GetInstance(); | 212 GlobalErrorServiceFactory::GetInstance(); |
| 207 GoogleURLTrackerFactory::GetInstance(); | 213 GoogleURLTrackerFactory::GetInstance(); |
| 208 HistoryServiceFactory::GetInstance(); | 214 HistoryServiceFactory::GetInstance(); |
| 215 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 216 ManagedModePolicyProviderFactory::GetInstance(); |
| 217 #endif |
| 209 NTPResourceCacheFactory::GetInstance(); | 218 NTPResourceCacheFactory::GetInstance(); |
| 210 PasswordStoreFactory::GetInstance(); | 219 PasswordStoreFactory::GetInstance(); |
| 211 PersonalDataManagerFactory::GetInstance(); | 220 PersonalDataManagerFactory::GetInstance(); |
| 212 #if !defined(OS_ANDROID) | 221 #if !defined(OS_ANDROID) |
| 213 PinnedTabServiceFactory::GetInstance(); | 222 PinnedTabServiceFactory::GetInstance(); |
| 214 #endif | 223 #endif |
| 215 PluginPrefsFactory::GetInstance(); | 224 PluginPrefsFactory::GetInstance(); |
| 216 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 225 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
| 217 predictors::PredictorDatabaseFactory::GetInstance(); | 226 predictors::PredictorDatabaseFactory::GetInstance(); |
| 218 prerender::PrerenderManagerFactory::GetInstance(); | 227 prerender::PrerenderManagerFactory::GetInstance(); |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 } | 355 } |
| 347 | 356 |
| 348 result.append("\n /* Toplevel profile */\n"); | 357 result.append("\n /* Toplevel profile */\n"); |
| 349 result.append(" Profile [shape=box];\n"); | 358 result.append(" Profile [shape=box];\n"); |
| 350 | 359 |
| 351 result.append("}\n"); | 360 result.append("}\n"); |
| 352 return result; | 361 return result; |
| 353 } | 362 } |
| 354 | 363 |
| 355 #endif | 364 #endif |
| OLD | NEW |