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" | |
78 #include "chrome/browser/webdata/web_data_service_factory.h" | 77 #include "chrome/browser/webdata/web_data_service_factory.h" |
79 | 78 |
80 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) | 79 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) |
81 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" | 80 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" |
82 #endif | 81 #endif |
83 | 82 |
84 #if defined(ENABLE_CONFIGURATION_POLICY) | 83 #if defined(ENABLE_CONFIGURATION_POLICY) |
85 #include "chrome/browser/policy/user_policy_signin_service_factory.h" | 84 #include "chrome/browser/policy/user_policy_signin_service_factory.h" |
86 #endif | 85 #endif |
87 | 86 |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 #endif | 317 #endif |
319 SpellcheckServiceFactory::GetInstance(); | 318 SpellcheckServiceFactory::GetInstance(); |
320 TabRestoreServiceFactory::GetInstance(); | 319 TabRestoreServiceFactory::GetInstance(); |
321 TemplateURLFetcherFactory::GetInstance(); | 320 TemplateURLFetcherFactory::GetInstance(); |
322 TemplateURLServiceFactory::GetInstance(); | 321 TemplateURLServiceFactory::GetInstance(); |
323 #if defined(ENABLE_THEMES) | 322 #if defined(ENABLE_THEMES) |
324 ThemeServiceFactory::GetInstance(); | 323 ThemeServiceFactory::GetInstance(); |
325 #endif | 324 #endif |
326 TokenServiceFactory::GetInstance(); | 325 TokenServiceFactory::GetInstance(); |
327 UserStyleSheetWatcherFactory::GetInstance(); | 326 UserStyleSheetWatcherFactory::GetInstance(); |
328 VisitedLinkMasterFactory::GetInstance(); | |
329 WebDataServiceFactory::GetInstance(); | 327 WebDataServiceFactory::GetInstance(); |
330 #if defined(ENABLE_WEB_INTENTS) | 328 #if defined(ENABLE_WEB_INTENTS) |
331 WebIntentsRegistryFactory::GetInstance(); | 329 WebIntentsRegistryFactory::GetInstance(); |
332 #endif | 330 #endif |
333 | 331 |
334 built_factories_ = true; | 332 built_factories_ = true; |
335 } | 333 } |
336 | 334 |
337 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { | 335 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { |
338 #if !defined(NDEBUG) | 336 #if !defined(NDEBUG) |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 } | 435 } |
438 | 436 |
439 result.append("\n /* Toplevel profile */\n"); | 437 result.append("\n /* Toplevel profile */\n"); |
440 result.append(" Profile [shape=box];\n"); | 438 result.append(" Profile [shape=box];\n"); |
441 | 439 |
442 result.append("}\n"); | 440 result.append("}\n"); |
443 return result; | 441 return result; |
444 } | 442 } |
445 | 443 |
446 #endif | 444 #endif |
OLD | NEW |