| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 68 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
| 69 #include "chrome/browser/sync/profile_sync_service_factory.h" | 69 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 70 #include "chrome/browser/themes/theme_service_factory.h" | 70 #include "chrome/browser/themes/theme_service_factory.h" |
| 71 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 71 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
| 72 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 72 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
| 73 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 73 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
| 74 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 74 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
| 75 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" | 75 #include "chrome/browser/ui/webui/chrome_url_data_manager_factory.h" |
| 76 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 76 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
| 77 #include "chrome/browser/user_style_sheet_watcher_factory.h" | 77 #include "chrome/browser/user_style_sheet_watcher_factory.h" |
| 78 #include "chrome/browser/visitedlink/visitedlink_master_factory.h" | |
| 79 #include "chrome/browser/webdata/web_data_service_factory.h" | 78 #include "chrome/browser/webdata/web_data_service_factory.h" |
| 80 | 79 |
| 81 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 80 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
| 82 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" | 81 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
| 83 #endif | 82 #endif |
| 84 | 83 |
| 85 #if defined(ENABLE_CONFIGURATION_POLICY) | 84 #if defined(ENABLE_CONFIGURATION_POLICY) |
| 86 #include "chrome/browser/policy/user_policy_signin_service_factory.h" | 85 #include "chrome/browser/policy/user_policy_signin_service_factory.h" |
| 87 #endif | 86 #endif |
| 88 | 87 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 #endif | 319 #endif |
| 321 SpellcheckServiceFactory::GetInstance(); | 320 SpellcheckServiceFactory::GetInstance(); |
| 322 TabRestoreServiceFactory::GetInstance(); | 321 TabRestoreServiceFactory::GetInstance(); |
| 323 TemplateURLFetcherFactory::GetInstance(); | 322 TemplateURLFetcherFactory::GetInstance(); |
| 324 TemplateURLServiceFactory::GetInstance(); | 323 TemplateURLServiceFactory::GetInstance(); |
| 325 #if defined(ENABLE_THEMES) | 324 #if defined(ENABLE_THEMES) |
| 326 ThemeServiceFactory::GetInstance(); | 325 ThemeServiceFactory::GetInstance(); |
| 327 #endif | 326 #endif |
| 328 TokenServiceFactory::GetInstance(); | 327 TokenServiceFactory::GetInstance(); |
| 329 UserStyleSheetWatcherFactory::GetInstance(); | 328 UserStyleSheetWatcherFactory::GetInstance(); |
| 330 VisitedLinkMasterFactory::GetInstance(); | |
| 331 WebDataServiceFactory::GetInstance(); | 329 WebDataServiceFactory::GetInstance(); |
| 332 #if defined(ENABLE_WEB_INTENTS) | 330 #if defined(ENABLE_WEB_INTENTS) |
| 333 WebIntentsRegistryFactory::GetInstance(); | 331 WebIntentsRegistryFactory::GetInstance(); |
| 334 #endif | 332 #endif |
| 335 | 333 |
| 336 built_factories_ = true; | 334 built_factories_ = true; |
| 337 } | 335 } |
| 338 | 336 |
| 339 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { | 337 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { |
| 340 #if !defined(NDEBUG) | 338 #if !defined(NDEBUG) |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 } | 437 } |
| 440 | 438 |
| 441 result.append("\n /* Toplevel profile */\n"); | 439 result.append("\n /* Toplevel profile */\n"); |
| 442 result.append(" Profile [shape=box];\n"); | 440 result.append(" Profile [shape=box];\n"); |
| 443 | 441 |
| 444 result.append("}\n"); | 442 result.append("}\n"); |
| 445 return result; | 443 return result; |
| 446 } | 444 } |
| 447 | 445 |
| 448 #endif | 446 #endif |
| OLD | NEW |