| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h" | 45 #include "chrome/browser/extensions/api/streams_private/streams_private_api.h" |
| 46 #include "chrome/browser/extensions/api/system_info/system_info_api.h" | 46 #include "chrome/browser/extensions/api/system_info/system_info_api.h" |
| 47 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory
.h" | 47 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory
.h" |
| 48 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" | 48 #include "chrome/browser/extensions/api/tabs/tabs_windows_api.h" |
| 49 #include "chrome/browser/extensions/api/themes/theme_api.h" | 49 #include "chrome/browser/extensions/api/themes/theme_api.h" |
| 50 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" | 50 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api.h" |
| 51 #include "chrome/browser/extensions/csp_parser.h" | 51 #include "chrome/browser/extensions/csp_parser.h" |
| 52 #include "chrome/browser/extensions/extension_system_factory.h" | 52 #include "chrome/browser/extensions/extension_system_factory.h" |
| 53 #include "chrome/browser/extensions/install_tracker_factory.h" | 53 #include "chrome/browser/extensions/install_tracker_factory.h" |
| 54 #include "chrome/browser/extensions/manifest_url_parser.h" | 54 #include "chrome/browser/extensions/manifest_url_parser.h" |
| 55 #include "chrome/browser/extensions/token_cache/token_cache_service_factory.h" |
| 55 #include "chrome/browser/extensions/web_accessible_resources_parser.h" | 56 #include "chrome/browser/extensions/web_accessible_resources_parser.h" |
| 56 #include "chrome/browser/favicon/favicon_service_factory.h" | 57 #include "chrome/browser/favicon/favicon_service_factory.h" |
| 57 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto
ry.h" | 58 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_facto
ry.h" |
| 58 #include "chrome/browser/google/google_url_tracker_factory.h" | 59 #include "chrome/browser/google/google_url_tracker_factory.h" |
| 59 #include "chrome/browser/history/history_service_factory.h" | 60 #include "chrome/browser/history/history_service_factory.h" |
| 60 #include "chrome/browser/history/shortcuts_backend_factory.h" | 61 #include "chrome/browser/history/shortcuts_backend_factory.h" |
| 61 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" | 62 #include "chrome/browser/media_galleries/media_galleries_preferences_factory.h" |
| 62 #include "chrome/browser/notifications/desktop_notification_service_factory.h" | 63 #include "chrome/browser/notifications/desktop_notification_service_factory.h" |
| 63 #if !defined(OS_ANDROID) | 64 #if !defined(OS_ANDROID) |
| 64 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" | 65 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_service_fac
tory.h" |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 369 #if defined(ENABLE_INPUT_SPEECH) | 370 #if defined(ENABLE_INPUT_SPEECH) |
| 370 ChromeSpeechRecognitionPreferences::InitializeFactory(); | 371 ChromeSpeechRecognitionPreferences::InitializeFactory(); |
| 371 #endif | 372 #endif |
| 372 SpellcheckServiceFactory::GetInstance(); | 373 SpellcheckServiceFactory::GetInstance(); |
| 373 TabRestoreServiceFactory::GetInstance(); | 374 TabRestoreServiceFactory::GetInstance(); |
| 374 TemplateURLFetcherFactory::GetInstance(); | 375 TemplateURLFetcherFactory::GetInstance(); |
| 375 TemplateURLServiceFactory::GetInstance(); | 376 TemplateURLServiceFactory::GetInstance(); |
| 376 #if defined(ENABLE_THEMES) | 377 #if defined(ENABLE_THEMES) |
| 377 ThemeServiceFactory::GetInstance(); | 378 ThemeServiceFactory::GetInstance(); |
| 378 #endif | 379 #endif |
| 380 TokenCacheServiceFactory::GetInstance(); |
| 379 TokenServiceFactory::GetInstance(); | 381 TokenServiceFactory::GetInstance(); |
| 380 UserStyleSheetWatcherFactory::GetInstance(); | 382 UserStyleSheetWatcherFactory::GetInstance(); |
| 381 WebDatabaseServiceFactory::GetInstance(); | 383 WebDatabaseServiceFactory::GetInstance(); |
| 382 WebDataServiceFactory::GetInstance(); | 384 WebDataServiceFactory::GetInstance(); |
| 383 | 385 |
| 384 built_factories_ = true; | 386 built_factories_ = true; |
| 385 } | 387 } |
| 386 | 388 |
| 387 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { | 389 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { |
| 388 #if !defined(NDEBUG) | 390 #if !defined(NDEBUG) |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 } | 489 } |
| 488 | 490 |
| 489 result.append("\n /* Toplevel profile */\n"); | 491 result.append("\n /* Toplevel profile */\n"); |
| 490 result.append(" Profile [shape=box];\n"); | 492 result.append(" Profile [shape=box];\n"); |
| 491 | 493 |
| 492 result.append("}\n"); | 494 result.append("}\n"); |
| 493 return result; | 495 return result; |
| 494 } | 496 } |
| 495 | 497 |
| 496 #endif | 498 #endif |
| OLD | NEW |