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