Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ios/chrome/browser/browser_state/browser_state_keyed_service_factories .h" | 5 #include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories .h" |
| 6 | 6 |
| 7 #include "ios/chrome/browser/autocomplete/autocomplete_classifier_factory.h" | 7 #include "ios/chrome/browser/autocomplete/autocomplete_classifier_factory.h" |
| 8 #include "ios/chrome/browser/autocomplete/in_memory_url_index_factory.h" | 8 #include "ios/chrome/browser/autocomplete/in_memory_url_index_factory.h" |
| 9 #include "ios/chrome/browser/autocomplete/shortcuts_backend_factory.h" | 9 #include "ios/chrome/browser/autocomplete/shortcuts_backend_factory.h" |
| 10 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" | 10 #include "ios/chrome/browser/autofill/personal_data_manager_factory.h" |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 39 #include "ios/chrome/browser/signin/gaia_cookie_manager_service_factory.h" | 39 #include "ios/chrome/browser/signin/gaia_cookie_manager_service_factory.h" |
| 40 #include "ios/chrome/browser/signin/oauth2_token_service_factory.h" | 40 #include "ios/chrome/browser/signin/oauth2_token_service_factory.h" |
| 41 #include "ios/chrome/browser/signin/signin_client_factory.h" | 41 #include "ios/chrome/browser/signin/signin_client_factory.h" |
| 42 #include "ios/chrome/browser/signin/signin_error_controller_factory.h" | 42 #include "ios/chrome/browser/signin/signin_error_controller_factory.h" |
| 43 #include "ios/chrome/browser/signin/signin_manager_factory.h" | 43 #include "ios/chrome/browser/signin/signin_manager_factory.h" |
| 44 #include "ios/chrome/browser/suggestions/suggestions_service_factory.h" | 44 #include "ios/chrome/browser/suggestions/suggestions_service_factory.h" |
| 45 #include "ios/chrome/browser/sync/sync_setup_service_factory.h" | 45 #include "ios/chrome/browser/sync/sync_setup_service_factory.h" |
| 46 #include "ios/chrome/browser/translate/translate_accept_languages_factory.h" | 46 #include "ios/chrome/browser/translate/translate_accept_languages_factory.h" |
| 47 #include "ios/chrome/browser/undo/bookmark_undo_service_factory.h" | 47 #include "ios/chrome/browser/undo/bookmark_undo_service_factory.h" |
| 48 #include "ios/chrome/browser/web_data_service_factory.h" | 48 #include "ios/chrome/browser/web_data_service_factory.h" |
| 49 #include "ios/shared/chrome/browser/ui/browser_list/browser_list_session_service _factory.h" | |
|
sdefresne
2017/05/04 14:52:35
I'm still unconvinced the BrowserList is part of U
marq (ping after 24h)
2017/05/09 10:18:59
To me, it's "model" code in that it doesn't direct
sdefresne
2017/05/11 15:57:59
It still seems strange that this is the only file
rohitrao (ping after 24h)
2017/05/15 11:56:03
It owns Browser, which in turn owns a dispatcher a
| |
| 49 | 50 |
| 50 #if !defined(__has_feature) || !__has_feature(objc_arc) | 51 #if !defined(__has_feature) || !__has_feature(objc_arc) |
| 51 #error "This file requires ARC support." | 52 #error "This file requires ARC support." |
| 52 #endif | 53 #endif |
| 53 | 54 |
| 54 // This method gets the instance of each ServiceFactory. We do this so that | 55 // This method gets the instance of each ServiceFactory. We do this so that |
| 55 // each ServiceFactory initializes itself and registers its dependencies with | 56 // each ServiceFactory initializes itself and registers its dependencies with |
| 56 // the global PreferenceDependencyManager. We need to have a complete | 57 // the global PreferenceDependencyManager. We need to have a complete |
| 57 // dependency graph when we create a browser state so we can dispatch the | 58 // dependency graph when we create a browser state so we can dispatch the |
| 58 // browser state creation message to the services that want to create their | 59 // browser state creation message to the services that want to create their |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 79 ios::InMemoryURLIndexFactory::GetInstance(); | 80 ios::InMemoryURLIndexFactory::GetInstance(); |
| 80 ios::ShortcutsBackendFactory::GetInstance(); | 81 ios::ShortcutsBackendFactory::GetInstance(); |
| 81 ios::SigninErrorControllerFactory::GetInstance(); | 82 ios::SigninErrorControllerFactory::GetInstance(); |
| 82 ios::SigninManagerFactory::GetInstance(); | 83 ios::SigninManagerFactory::GetInstance(); |
| 83 ios::StartupTaskRunnerServiceFactory::GetInstance(); | 84 ios::StartupTaskRunnerServiceFactory::GetInstance(); |
| 84 ios::TemplateURLServiceFactory::GetInstance(); | 85 ios::TemplateURLServiceFactory::GetInstance(); |
| 85 ios::TopSitesFactory::GetInstance(); | 86 ios::TopSitesFactory::GetInstance(); |
| 86 ios::WebDataServiceFactory::GetInstance(); | 87 ios::WebDataServiceFactory::GetInstance(); |
| 87 ios::WebHistoryServiceFactory::GetInstance(); | 88 ios::WebHistoryServiceFactory::GetInstance(); |
| 88 AuthenticationServiceFactory::GetInstance(); | 89 AuthenticationServiceFactory::GetInstance(); |
| 90 BrowserListSessionServiceFactory::GetInstance(); | |
| 89 DesktopPromotionSyncServiceFactory::GetInstance(); | 91 DesktopPromotionSyncServiceFactory::GetInstance(); |
| 90 IOSChromeGCMProfileServiceFactory::GetInstance(); | 92 IOSChromeGCMProfileServiceFactory::GetInstance(); |
| 91 IOSChromeLargeIconCacheFactory::GetInstance(); | 93 IOSChromeLargeIconCacheFactory::GetInstance(); |
| 92 IOSChromeLargeIconServiceFactory::GetInstance(); | 94 IOSChromeLargeIconServiceFactory::GetInstance(); |
| 93 IOSChromeFaviconLoaderFactory::GetInstance(); | 95 IOSChromeFaviconLoaderFactory::GetInstance(); |
| 94 IOSChromeContentSuggestionsServiceFactory::GetInstance(); | 96 IOSChromeContentSuggestionsServiceFactory::GetInstance(); |
| 95 IOSChromePasswordManagerSettingMigratorServiceFactory::GetInstance(); | 97 IOSChromePasswordManagerSettingMigratorServiceFactory::GetInstance(); |
| 96 IOSChromePasswordStoreFactory::GetInstance(); | 98 IOSChromePasswordStoreFactory::GetInstance(); |
| 97 IOSChromeProfileInvalidationProviderFactory::GetInstance(); | 99 IOSChromeProfileInvalidationProviderFactory::GetInstance(); |
| 98 GoogleLogoServiceFactory::GetInstance(); | 100 GoogleLogoServiceFactory::GetInstance(); |
| 99 OAuth2TokenServiceFactory::GetInstance(); | 101 OAuth2TokenServiceFactory::GetInstance(); |
| 100 ReadingListModelFactory::GetInstance(); | 102 ReadingListModelFactory::GetInstance(); |
| 101 SigninClientFactory::GetInstance(); | 103 SigninClientFactory::GetInstance(); |
| 102 suggestions::SuggestionsServiceFactory::GetInstance(); | 104 suggestions::SuggestionsServiceFactory::GetInstance(); |
| 103 SyncSetupServiceFactory::GetInstance(); | 105 SyncSetupServiceFactory::GetInstance(); |
| 104 TabRestoreServiceDelegateImplIOSFactory::GetInstance(); | 106 TabRestoreServiceDelegateImplIOSFactory::GetInstance(); |
| 105 TranslateAcceptLanguagesFactory::GetInstance(); | 107 TranslateAcceptLanguagesFactory::GetInstance(); |
| 106 } | 108 } |
| OLD | NEW |