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