| 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 |
| 11 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 11 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
| 12 #include "chrome/browser/background/background_contents_service_factory.h" | 12 #include "chrome/browser/background/background_contents_service_factory.h" |
| 13 #include "chrome/browser/bookmarks/bookmark_model_factory.h" | 13 #include "chrome/browser/bookmarks/bookmark_model_factory.h" |
| 14 #include "chrome/browser/content_settings/cookie_settings.h" | 14 #include "chrome/browser/content_settings/cookie_settings.h" |
| 15 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" | 15 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h" |
| 16 #include "chrome/browser/download/download_service_factory.h" | 16 #include "chrome/browser/download/download_service_factory.h" |
| 17 #include "chrome/browser/extensions/api/commands/command_service_factory.h" | 17 #include "chrome/browser/extensions/api/commands/command_service_factory.h" |
| 18 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto
ry.h" | 18 #include "chrome/browser/extensions/api/discovery/suggested_links_registry_facto
ry.h" |
| 19 #include "chrome/browser/extensions/app_restore_service_factory.h" | 19 #include "chrome/browser/extensions/app_restore_service_factory.h" |
| 20 #include "chrome/browser/extensions/api/tab_capture/tab_capture_registry_factory
.h" |
| 20 #include "chrome/browser/extensions/extension_system_factory.h" | 21 #include "chrome/browser/extensions/extension_system_factory.h" |
| 21 #include "chrome/browser/favicon/favicon_service_factory.h" | 22 #include "chrome/browser/favicon/favicon_service_factory.h" |
| 22 #include "chrome/browser/google/google_url_tracker_factory.h" | 23 #include "chrome/browser/google/google_url_tracker_factory.h" |
| 23 #include "chrome/browser/history/history_service_factory.h" | 24 #include "chrome/browser/history/history_service_factory.h" |
| 24 #include "chrome/browser/history/shortcuts_backend_factory.h" | 25 #include "chrome/browser/history/shortcuts_backend_factory.h" |
| 25 #include "chrome/browser/intents/web_intents_registry_factory.h" | 26 #include "chrome/browser/intents/web_intents_registry_factory.h" |
| 26 #include "chrome/browser/media_gallery/media_galleries_preferences_factory.h" | 27 #include "chrome/browser/media_gallery/media_galleries_preferences_factory.h" |
| 27 #include "chrome/browser/notifications/desktop_notification_service_factory.h" | 28 #include "chrome/browser/notifications/desktop_notification_service_factory.h" |
| 28 #include "chrome/browser/password_manager/password_store_factory.h" | 29 #include "chrome/browser/password_manager/password_store_factory.h" |
| 29 #include "chrome/browser/plugins/plugin_prefs_factory.h" | 30 #include "chrome/browser/plugins/plugin_prefs_factory.h" |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 CookieSettings::Factory::GetInstance(); | 216 CookieSettings::Factory::GetInstance(); |
| 216 #if defined(ENABLE_NOTIFICATIONS) | 217 #if defined(ENABLE_NOTIFICATIONS) |
| 217 DesktopNotificationServiceFactory::GetInstance(); | 218 DesktopNotificationServiceFactory::GetInstance(); |
| 218 #endif | 219 #endif |
| 219 DownloadServiceFactory::GetInstance(); | 220 DownloadServiceFactory::GetInstance(); |
| 220 #if defined(ENABLE_EXTENSIONS) | 221 #if defined(ENABLE_EXTENSIONS) |
| 221 extensions::AppRestoreServiceFactory::GetInstance(); | 222 extensions::AppRestoreServiceFactory::GetInstance(); |
| 222 extensions::CommandServiceFactory::GetInstance(); | 223 extensions::CommandServiceFactory::GetInstance(); |
| 223 extensions::SuggestedLinksRegistryFactory::GetInstance(); | 224 extensions::SuggestedLinksRegistryFactory::GetInstance(); |
| 224 extensions::ExtensionSystemFactory::GetInstance(); | 225 extensions::ExtensionSystemFactory::GetInstance(); |
| 226 extensions::TabCaptureRegistryFactory::GetInstance(); |
| 225 #endif | 227 #endif |
| 226 FaviconServiceFactory::GetInstance(); | 228 FaviconServiceFactory::GetInstance(); |
| 227 FindBarStateFactory::GetInstance(); | 229 FindBarStateFactory::GetInstance(); |
| 228 #if defined(USE_AURA) | 230 #if defined(USE_AURA) |
| 229 GesturePrefsObserverFactoryAura::GetInstance(); | 231 GesturePrefsObserverFactoryAura::GetInstance(); |
| 230 #endif | 232 #endif |
| 231 GlobalErrorServiceFactory::GetInstance(); | 233 GlobalErrorServiceFactory::GetInstance(); |
| 232 GoogleURLTrackerFactory::GetInstance(); | 234 GoogleURLTrackerFactory::GetInstance(); |
| 233 HistoryServiceFactory::GetInstance(); | 235 HistoryServiceFactory::GetInstance(); |
| 234 MediaGalleriesPreferencesFactory::GetInstance(); | 236 MediaGalleriesPreferencesFactory::GetInstance(); |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 } | 387 } |
| 386 | 388 |
| 387 result.append("\n /* Toplevel profile */\n"); | 389 result.append("\n /* Toplevel profile */\n"); |
| 388 result.append(" Profile [shape=box];\n"); | 390 result.append(" Profile [shape=box];\n"); |
| 389 | 391 |
| 390 result.append("}\n"); | 392 result.append("}\n"); |
| 391 return result; | 393 return result; |
| 392 } | 394 } |
| 393 | 395 |
| 394 #endif | 396 #endif |
| OLD | NEW |