| 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 27 matching lines...) Expand all Loading... |
| 38 #include "chrome/browser/plugins/plugin_prefs_factory.h" | 38 #include "chrome/browser/plugins/plugin_prefs_factory.h" |
| 39 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" | 39 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" |
| 40 #include "chrome/browser/predictors/predictor_database_factory.h" | 40 #include "chrome/browser/predictors/predictor_database_factory.h" |
| 41 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" | 41 #include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" |
| 42 #include "chrome/browser/prerender/prerender_link_manager_factory.h" | 42 #include "chrome/browser/prerender/prerender_link_manager_factory.h" |
| 43 #include "chrome/browser/prerender/prerender_manager_factory.h" | 43 #include "chrome/browser/prerender/prerender_manager_factory.h" |
| 44 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" | 44 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.
h" |
| 45 #include "chrome/browser/profiles/profile.h" | 45 #include "chrome/browser/profiles/profile.h" |
| 46 #include "chrome/browser/profiles/profile_keyed_service.h" | 46 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 47 #include "chrome/browser/profiles/profile_keyed_service_factory.h" | 47 #include "chrome/browser/profiles/profile_keyed_service_factory.h" |
| 48 #include "chrome/browser/protector/protector_service_factory.h" | |
| 49 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 48 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
| 50 #include "chrome/browser/search_engines/template_url_service_factory.h" | 49 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| 51 #include "chrome/browser/sessions/session_service_factory.h" | 50 #include "chrome/browser/sessions/session_service_factory.h" |
| 52 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 51 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
| 53 #include "chrome/browser/signin/signin_manager_factory.h" | 52 #include "chrome/browser/signin/signin_manager_factory.h" |
| 54 #include "chrome/browser/signin/token_service_factory.h" | 53 #include "chrome/browser/signin/token_service_factory.h" |
| 55 #include "chrome/browser/speech/chrome_speech_recognition_preferences.h" | 54 #include "chrome/browser/speech/chrome_speech_recognition_preferences.h" |
| 56 #include "chrome/browser/speech/speech_input_extension_manager.h" | 55 #include "chrome/browser/speech/speech_input_extension_manager.h" |
| 57 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 56 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
| 58 #include "chrome/browser/sync/profile_sync_service_factory.h" | 57 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 // Not used on chromeos because signin happens before the profile is loaded. | 257 // Not used on chromeos because signin happens before the profile is loaded. |
| 259 policy::UserPolicySigninServiceFactory::GetInstance(); | 258 policy::UserPolicySigninServiceFactory::GetInstance(); |
| 260 #endif | 259 #endif |
| 261 predictors::AutocompleteActionPredictorFactory::GetInstance(); | 260 predictors::AutocompleteActionPredictorFactory::GetInstance(); |
| 262 predictors::PredictorDatabaseFactory::GetInstance(); | 261 predictors::PredictorDatabaseFactory::GetInstance(); |
| 263 predictors::ResourcePrefetchPredictorFactory::GetInstance(); | 262 predictors::ResourcePrefetchPredictorFactory::GetInstance(); |
| 264 prerender::PrerenderManagerFactory::GetInstance(); | 263 prerender::PrerenderManagerFactory::GetInstance(); |
| 265 prerender::PrerenderLinkManagerFactory::GetInstance(); | 264 prerender::PrerenderLinkManagerFactory::GetInstance(); |
| 266 ProfileSyncServiceFactory::GetInstance(); | 265 ProfileSyncServiceFactory::GetInstance(); |
| 267 ProtocolHandlerRegistryFactory::GetInstance(); | 266 ProtocolHandlerRegistryFactory::GetInstance(); |
| 268 #if defined(ENABLE_PROTECTOR_SERVICE) | |
| 269 protector::ProtectorServiceFactory::GetInstance(); | |
| 270 #endif | |
| 271 #if defined(ENABLE_SESSION_SERVICE) | 267 #if defined(ENABLE_SESSION_SERVICE) |
| 272 SessionServiceFactory::GetInstance(); | 268 SessionServiceFactory::GetInstance(); |
| 273 #endif | 269 #endif |
| 274 ShortcutsBackendFactory::GetInstance(); | 270 ShortcutsBackendFactory::GetInstance(); |
| 275 ThumbnailServiceFactory::GetInstance(); | 271 ThumbnailServiceFactory::GetInstance(); |
| 276 SigninManagerFactory::GetInstance(); | 272 SigninManagerFactory::GetInstance(); |
| 277 #if defined(ENABLE_INPUT_SPEECH) | 273 #if defined(ENABLE_INPUT_SPEECH) |
| 278 SpeechInputExtensionManager::InitializeFactory(); | 274 SpeechInputExtensionManager::InitializeFactory(); |
| 279 ChromeSpeechRecognitionPreferences::InitializeFactory(); | 275 ChromeSpeechRecognitionPreferences::InitializeFactory(); |
| 280 #endif | 276 #endif |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 } | 395 } |
| 400 | 396 |
| 401 result.append("\n /* Toplevel profile */\n"); | 397 result.append("\n /* Toplevel profile */\n"); |
| 402 result.append(" Profile [shape=box];\n"); | 398 result.append(" Profile [shape=box];\n"); |
| 403 | 399 |
| 404 result.append("}\n"); | 400 result.append("}\n"); |
| 405 return result; | 401 return result; |
| 406 } | 402 } |
| 407 | 403 |
| 408 #endif | 404 #endif |
| OLD | NEW |