// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "ios/chrome/browser/profile/model/keyed_service_factories.h"

#import "ios/chrome/browser/account_settings/model/ios_account_setting_service_factory.h"
#import "ios/chrome/browser/affiliations/model/ios_chrome_affiliation_service_factory.h"
#import "ios/chrome/browser/aim/model/ios_chrome_aim_eligibility_service_factory.h"
#import "ios/chrome/browser/app_store_bundle/model/app_store_bundle_service_factory.h"
#import "ios/chrome/browser/autocomplete/model/autocomplete_classifier_factory.h"
#import "ios/chrome/browser/autocomplete/model/autocomplete_provider_client_impl.h"
#import "ios/chrome/browser/autocomplete/model/autocomplete_scoring_model_service_factory.h"
#import "ios/chrome/browser/autocomplete/model/in_memory_url_index_factory.h"
#import "ios/chrome/browser/autocomplete/model/on_device_tail_model_service_factory.h"
#import "ios/chrome/browser/autocomplete/model/provider_state_service_factory.h"
#import "ios/chrome/browser/autocomplete/model/remote_suggestions_service_factory.h"
#import "ios/chrome/browser/autocomplete/model/shortcuts_backend_factory.h"
#import "ios/chrome/browser/autocomplete/model/zero_suggest_cache_service_factory.h"
#import "ios/chrome/browser/autofill/atmemory/model/ios_at_memory_query_service_factory.h"
#import "ios/chrome/browser/autofill/model/autocomplete_history_manager_factory.h"
#import "ios/chrome/browser/autofill/model/autofill_image_fetcher_factory.h"
#import "ios/chrome/browser/autofill/model/autofill_log_router_factory.h"
#import "ios/chrome/browser/autofill/model/autofill_policy_service_factory.h"
#import "ios/chrome/browser/autofill/model/ios_autofill_ai_model_cache_factory.h"
#import "ios/chrome/browser/autofill/model/ios_autofill_ai_model_executor_factory.h"
#import "ios/chrome/browser/autofill/model/ios_autofill_ai_personal_context_access_manager_factory.h"
#import "ios/chrome/browser/autofill/model/ios_autofill_entity_data_manager_factory.h"
#import "ios/chrome/browser/autofill/model/ios_autofill_field_classification_model_handler_factory.h"
#import "ios/chrome/browser/autofill/model/ios_wallet_pass_access_manager_factory.h"
#import "ios/chrome/browser/autofill/model/personal_data_manager_factory.h"
#import "ios/chrome/browser/autofill/model/strike_database_factory.h"
#import "ios/chrome/browser/backend_promo/model/backend_promo_service_factory.h"
#import "ios/chrome/browser/bookmarks/model/account_bookmark_sync_service_factory.h"
#import "ios/chrome/browser/bookmarks/model/bookmark_model_factory.h"
#import "ios/chrome/browser/bookmarks/model/bookmark_undo_service_factory.h"
#import "ios/chrome/browser/bookmarks/model/local_or_syncable_bookmark_sync_service_factory.h"
#import "ios/chrome/browser/bookmarks/model/managed_bookmark_service_factory.h"
#import "ios/chrome/browser/bring_android_tabs/model/bring_android_tabs_to_ios_service_factory.h"
#import "ios/chrome/browser/browsing_data/model/browsing_data_remover_factory.h"
#import "ios/chrome/browser/cobrowse/model/ios_contextual_tasks_service_factory.h"
#import "ios/chrome/browser/collaboration/model/collaboration_service_factory.h"
#import "ios/chrome/browser/collaboration/model/messaging/instant_messaging_service_factory.h"
#import "ios/chrome/browser/collaboration/model/messaging/messaging_backend_service_factory.h"
#import "ios/chrome/browser/commerce/model/session_proto_db_factory.h"
#import "ios/chrome/browser/commerce/model/shopping_service_factory.h"
#import "ios/chrome/browser/composebox/model/ios_contextual_search_service_factory.h"
#import "ios/chrome/browser/consent_auditor/model/consent_auditor_factory.h"
#import "ios/chrome/browser/content_notification/model/content_notification_service_factory.h"
#import "ios/chrome/browser/content_settings/model/host_content_settings_map_factory.h"
#import "ios/chrome/browser/content_suggestions/impression_limits/model/impression_limit_service_factory.h"
#import "ios/chrome/browser/contextual_panel/model/contextual_panel_model_service_factory.h"
#import "ios/chrome/browser/contextual_panel/sample/model/sample_panel_model_factory.h"
#import "ios/chrome/browser/crash_report/model/breadcrumbs/breadcrumb_manager_keyed_service_factory.h"
#import "ios/chrome/browser/credential_provider/model/credential_provider_buildflags.h"
#import "ios/chrome/browser/cross_platform_promos/model/cross_platform_promos_service_factory.h"
#import "ios/chrome/browser/data_sharing/model/data_sharing_service_factory.h"
#import "ios/chrome/browser/device_reauth/model/ios_device_authenticator_factory.h"
#import "ios/chrome/browser/device_reauth/model/reauthentication_service_factory.h"
#import "ios/chrome/browser/device_sharing/model/device_sharing_manager_factory.h"
#import "ios/chrome/browser/discover_feed/model/discover_feed_service_factory.h"
#import "ios/chrome/browser/dom_distiller/model/distiller_service_factory.h"
#import "ios/chrome/browser/download/model/background_service/background_download_service_factory.h"
#import "ios/chrome/browser/download/model/browser_download_service_factory.h"
#import "ios/chrome/browser/download/model/download_file_service_factory.h"
#import "ios/chrome/browser/download/model/download_record_service_factory.h"
#import "ios/chrome/browser/drive/model/drive_service_factory.h"
#import "ios/chrome/browser/enterprise/client_certificates/certificate_provisioning_service_factory_ios.h"
#import "ios/chrome/browser/enterprise/client_certificates/certificate_store_factory.h"
#import "ios/chrome/browser/enterprise/client_certificates/client_certificates_service_ios_factory.h"
#import "ios/chrome/browser/enterprise/cloud_content_scanning/model/background_cloud_scanner_manager_factory.h"
#import "ios/chrome/browser/enterprise/cloud_content_scanning/model/ios_cloud_binary_upload_service_factory.h"
#import "ios/chrome/browser/enterprise/connectors/connectors_service_factory.h"
#import "ios/chrome/browser/enterprise/connectors/device_trust/model/device_trust_connector_service_factory_ios.h"
#import "ios/chrome/browser/enterprise/connectors/reporting/ios_realtime_reporting_client_factory.h"
#import "ios/chrome/browser/enterprise/connectors/reporting/ios_reporting_event_router_factory.h"
#import "ios/chrome/browser/enterprise/data_controls/model/ios_rules_service_factory.h"
#import "ios/chrome/browser/enterprise/data_protection/model/data_protection_url_lookup_service_factory.h"
#import "ios/chrome/browser/enterprise/groups/model/enterprise_groups_profile_handler_factory.h"
#import "ios/chrome/browser/enterprise/identifiers/profile_id_service_factory_ios.h"
#import "ios/chrome/browser/enterprise/model/idle/idle_service_factory.h"
#import "ios/chrome/browser/enterprise/signals/model/ios_signals_aggregator_factory.h"
#import "ios/chrome/browser/external_files/model/external_file_remover_factory.h"
#import "ios/chrome/browser/favicon/model/favicon_service_factory.h"
#import "ios/chrome/browser/favicon/model/ios_chrome_favicon_loader_factory.h"
#import "ios/chrome/browser/favicon/model/ios_chrome_large_icon_cache_factory.h"
#import "ios/chrome/browser/favicon/model/ios_chrome_large_icon_service_factory.h"
#import "ios/chrome/browser/feature_engagement/model/tracker_factory.h"
#import "ios/chrome/browser/gcm/model/instance_id/ios_chrome_instance_id_profile_service_factory.h"
#import "ios/chrome/browser/gcm/model/ios_chrome_gcm_profile_service_factory.h"
#import "ios/chrome/browser/google/model/google_logo_service_factory.h"
#import "ios/chrome/browser/history/model/domain_diversity_reporter_factory.h"
#import "ios/chrome/browser/history/model/history_service_factory.h"
#import "ios/chrome/browser/history/model/top_sites_factory.h"
#import "ios/chrome/browser/history/model/web_history_service_factory.h"
#import "ios/chrome/browser/home_customization/model/home_background_customization_service_factory.h"
#import "ios/chrome/browser/home_customization/model/home_background_image_service_factory.h"
#import "ios/chrome/browser/home_customization/model/ntp_background_service_factory.h"
#import "ios/chrome/browser/home_customization/model/user_uploaded_image_manager_factory.h"
#import "ios/chrome/browser/https_upgrades/model/https_upgrade_service_factory.h"
#import "ios/chrome/browser/image_fetcher/model/image_fetcher_service_factory.h"
#import "ios/chrome/browser/intelligence/actor/model/actor_service_factory.h"
#import "ios/chrome/browser/intelligence/bwg/model/gemini_capabilities_manager_factory.h"
#import "ios/chrome/browser/intelligence/bwg/model/gemini_service_factory.h"
#import "ios/chrome/browser/intelligence/on_device_category_classifier/in_process_category_classification_service.h"
#import "ios/chrome/browser/intelligence/on_device_category_classifier/on_device_page_classification_service_factory.h"
#import "ios/chrome/browser/intelligence/persist_tab_context/model/page_content_cache_service_factory.h"
#import "ios/chrome/browser/invalidation/model/ios_chrome_profile_invalidation_provider_factory.h"
#import "ios/chrome/browser/language/model/accept_languages_service_factory.h"
#import "ios/chrome/browser/language/model/language_model_manager_factory.h"
#import "ios/chrome/browser/language/model/url_language_histogram_factory.h"
#import "ios/chrome/browser/language_detection/model/language_detection_model_loader_service_ios_factory.h"
#import "ios/chrome/browser/language_detection/model/language_detection_model_service_factory.h"
#import "ios/chrome/browser/level_up/model/level_up_service_factory.h"
#import "ios/chrome/browser/mailto_handler/model/mailto_handler_service_factory.h"
#import "ios/chrome/browser/metrics/model/bookmark_model_metrics_service_factory.h"
#import "ios/chrome/browser/metrics/model/google_groups_manager_factory.h"
#import "ios/chrome/browser/metrics/model/ios_profile_metrics_service_factory.h"
#import "ios/chrome/browser/metrics/model/ios_profile_session_durations_service_factory.h"
#import "ios/chrome/browser/metrics/model/tab_usage_recorder_service_factory.h"
#import "ios/chrome/browser/mini_map/model/mini_map_service_factory.h"
#import "ios/chrome/browser/ntp/model/ntp_background_image_cache_service_factory.h"
#import "ios/chrome/browser/omnibox/model/placeholder_service/placeholder_service_factory.h"
#import "ios/chrome/browser/optimization_guide/model/optimization_guide_service_factory.h"
#import "ios/chrome/browser/page_content_annotations/model/page_content_annotations_service_factory.h"
#import "ios/chrome/browser/page_image/model/page_image_service_factory.h"
#import "ios/chrome/browser/page_info/model/about_this_site_service_factory.h"
#import "ios/chrome/browser/passwords/model/credentials_cleaner_runner_factory.h"
#import "ios/chrome/browser/passwords/model/ios_chrome_account_password_store_factory.h"
#import "ios/chrome/browser/passwords/model/ios_chrome_bulk_leak_check_service_factory.h"
#import "ios/chrome/browser/passwords/model/ios_chrome_password_check_manager_factory.h"
#import "ios/chrome/browser/passwords/model/ios_chrome_password_receiver_service_factory.h"
#import "ios/chrome/browser/passwords/model/ios_chrome_password_reuse_manager_factory.h"
#import "ios/chrome/browser/passwords/model/ios_chrome_password_sender_service_factory.h"
#import "ios/chrome/browser/passwords/model/ios_chrome_profile_password_store_factory.h"
#import "ios/chrome/browser/passwords/model/ios_password_field_classification_model_handler_factory.h"
#import "ios/chrome/browser/passwords/model/ios_password_manager_settings_service_factory.h"
#import "ios/chrome/browser/passwords/model/ios_password_requirements_service_factory.h"
#import "ios/chrome/browser/passwords/model/password_manager_log_router_factory.h"
#import "ios/chrome/browser/personal_context/model/ios_personal_context_eligibility_service_factory.h"
#import "ios/chrome/browser/personal_context/model/ios_personal_context_first_run_service_factory.h"
#import "ios/chrome/browser/personal_context/model/ios_personal_context_service_factory.h"
#import "ios/chrome/browser/photos/model/photos_service_factory.h"
#import "ios/chrome/browser/policy/model/cloud/user_policy_signin_service_factory.h"
#import "ios/chrome/browser/policy/model/reporting/cloud_profile_reporting_service_factory_ios.h"
#import "ios/chrome/browser/policy_url_blocking/model/policy_url_blocking_service_factory.h"
#import "ios/chrome/browser/power_bookmarks/model/power_bookmark_service_factory.h"
#import "ios/chrome/browser/price_insights/model/price_insights_model_factory.h"
#import "ios/chrome/browser/private_ai/model/private_ai_service_factory.h"
#import "ios/chrome/browser/promos_manager/model/promos_manager_factory.h"
#import "ios/chrome/browser/push_notification/model/provisional_push_notification_service_factory.h"
#import "ios/chrome/browser/push_notification/model/push_notification_profile_service_factory.h"
#import "ios/chrome/browser/reading_list/model/reading_list_model_factory.h"
#import "ios/chrome/browser/regional_capabilities/model/regional_capabilities_service_factory.h"
#import "ios/chrome/browser/safe_browsing/model/chrome_enterprise_url_lookup_service_factory.h"
#import "ios/chrome/browser/safe_browsing/model/chrome_password_protection_service_factory.h"
#import "ios/chrome/browser/safe_browsing/model/client_side_detection/client_side_detection_service_factory.h"
#import "ios/chrome/browser/safe_browsing/model/hash_realtime_service_factory.h"
#import "ios/chrome/browser/safe_browsing/model/ohttp_key_service_factory.h"
#import "ios/chrome/browser/safe_browsing/model/real_time_url_lookup_service_factory.h"
#import "ios/chrome/browser/safe_browsing/model/safe_browsing_client_factory.h"
#import "ios/chrome/browser/safe_browsing/model/safe_browsing_helper_factory.h"
#import "ios/chrome/browser/safe_browsing/model/safe_browsing_metrics_collector_factory.h"
#import "ios/chrome/browser/safe_browsing/model/tailored_security/tailored_security_service_factory.h"
#import "ios/chrome/browser/safe_browsing/model/v5_get_hash_protocol_manager_factory.h"
#import "ios/chrome/browser/safe_browsing/model/v5_search_hashes_cache_factory.h"
#import "ios/chrome/browser/safe_browsing/model/verdict_cache_manager_factory.h"
#import "ios/chrome/browser/safety_check/model/ios_chrome_safety_check_manager_factory.h"
#import "ios/chrome/browser/saved_tab_groups/model/tab_group_service_factory.h"
#import "ios/chrome/browser/saved_tab_groups/model/tab_group_sync_service_factory.h"
#import "ios/chrome/browser/search_engine_choice/model/search_engine_choice_triggering_service_factory.h"
#import "ios/chrome/browser/search_engines/model/search_engine_choice_service_factory.h"
#import "ios/chrome/browser/search_engines/model/template_url_fetcher_factory.h"
#import "ios/chrome/browser/search_engines/model/template_url_prepopulate_data_resolver_factory.h"
#import "ios/chrome/browser/search_engines/model/template_url_service_factory.h"
#import "ios/chrome/browser/segmentation_platform/model/segmentation_platform_service_factory.h"
#import "ios/chrome/browser/sessions/model/ios_chrome_tab_restore_service_factory.h"
#import "ios/chrome/browser/sessions/model/session_restoration_service_factory.h"
#import "ios/chrome/browser/share_kit/model/share_kit_service_factory.h"
#import "ios/chrome/browser/shared/model/browser/browser_list_factory.h"
#import "ios/chrome/browser/shared/public/features/features.h"
#import "ios/chrome/browser/sharing_message/model/ios_sharing_message_bridge_factory.h"
#import "ios/chrome/browser/sharing_message/model/ios_sharing_service_factory.h"
#import "ios/chrome/browser/signin/model/about_signin_internals_factory.h"
#import "ios/chrome/browser/signin/model/account_consistency_service_factory.h"
#import "ios/chrome/browser/signin/model/account_investigator_factory.h"
#import "ios/chrome/browser/signin/model/account_preview_data_service_factory.h"
#import "ios/chrome/browser/signin/model/account_reconcilor_factory.h"
#import "ios/chrome/browser/signin/model/authentication_service_factory.h"
#import "ios/chrome/browser/signin/model/chrome_account_manager_service_factory.h"
#import "ios/chrome/browser/signin/model/identity_manager_factory.h"
#import "ios/chrome/browser/signin/model/signin_client_factory.h"
#import "ios/chrome/browser/signin/model/signin_error_controller_factory.h"
#import "ios/chrome/browser/signin/model/signin_metrics_service_factory.h"
#import "ios/chrome/browser/signin/model/signin_profile_info_updater_factory.h"
#import "ios/chrome/browser/signin/model/trusted_vault/trusted_vault_client_backend_factory.h"
#import "ios/chrome/browser/subscription_eligibility/model/subscription_eligibility_service_factory.h"
#import "ios/chrome/browser/supervised_user/model/child_account_service_factory.h"
#import "ios/chrome/browser/supervised_user/model/family_link_settings_service_factory.h"
#import "ios/chrome/browser/supervised_user/model/list_family_members_service_factory.h"
#import "ios/chrome/browser/supervised_user/model/supervised_user_metrics_service_factory.h"
#import "ios/chrome/browser/supervised_user/model/supervised_user_service_factory.h"
#import "ios/chrome/browser/supervised_user/model/supervised_user_url_filtering_service_factory.h"
#import "ios/chrome/browser/sync/model/data_type_store_service_factory.h"
#import "ios/chrome/browser/sync/model/device_info_sync_service_factory.h"
#import "ios/chrome/browser/sync/model/ios_user_event_service_factory.h"
#import "ios/chrome/browser/sync/model/prefs/cross_device_pref_tracker/cross_device_pref_tracker_factory.h"
#import "ios/chrome/browser/sync/model/send_tab_to_self_sync_service_factory.h"
#import "ios/chrome/browser/sync/model/session_sync_service_factory.h"
#import "ios/chrome/browser/sync/model/sync_invalidations_service_factory.h"
#import "ios/chrome/browser/sync/model/sync_service_factory.h"
#import "ios/chrome/browser/tab_switcher/model/inactive_tabs/inactive_tabs_service_factory.h"
#import "ios/chrome/browser/tabs_search/model/tabs_search_service_factory.h"
#import "ios/chrome/browser/text_selection/model/text_classifier_model_service_factory.h"
#import "ios/chrome/browser/tips_manager/model/tips_manager_ios_factory.h"
#import "ios/chrome/browser/translate/model/translate_ranker_factory.h"
#import "ios/chrome/browser/trusted_vault/model/ios_trusted_vault_service_factory.h"
#import "ios/chrome/browser/unified_consent/model/unified_consent_service_factory.h"
#import "ios/chrome/browser/unified_consent/model/url_keyed_data_collection_consent_helper_factory_ios.h"
#import "ios/chrome/browser/unit_conversion/model/unit_conversion_service_factory.h"
#import "ios/chrome/browser/universal_optout/model/universal_optout_service_factory.h"
#import "ios/chrome/browser/variations/model/client/variations_client_service_factory.h"
#import "ios/chrome/browser/visited_url_ranking/model/visited_url_ranking_service_factory.h"
#import "ios/chrome/browser/voice/ui_bundled/text_to_speech_playback_controller_factory.h"
#import "ios/chrome/browser/web/model/java_script_console/java_script_console_feature_factory.h"
#import "ios/chrome/browser/webauthn/model/ios_passkey_model_factory.h"
#import "ios/chrome/browser/webdata_services/model/web_data_service_factory.h"
#import "ios/public/provider/chrome/browser/cobalt/cobalt_api.h"
#import "ios/web/common/features.h"

#if BUILDFLAG(IOS_CREDENTIAL_PROVIDER_ENABLED)
#import "ios/chrome/browser/credential_provider/model/credential_provider_service_factory.h"
#endif

// This method gets the instance of each ServiceFactory. This is done so that
// each ServiceFactory initializes itself and registers its dependencies with
// the global ProfileDependencyManagerIOS. A complete dependency graph is
// required to create services that uses ServiceCreation::kCreateWithProfile
// can be created with the profile.
void EnsureProfileKeyedServiceFactoriesBuilt() {
  // Keep this list alphabetized -- namespaced factories first, followed by
  // non-namespaced factories.
  actor::ActorServiceFactory::GetInstance();
  autofill::AutocompleteHistoryManagerFactory::GetInstance();
  autofill::AutofillImageFetcherFactory::GetInstance();
  autofill::AutofillLogRouterFactory::GetInstance();
  autofill::AutofillPolicyServiceFactory::GetInstance();
  autofill::PersonalDataManagerFactory::GetInstance();
  autofill::StrikeDatabaseFactory::GetInstance();
  client_certificates::CertificateStoreFactory::GetInstance();
  client_certificates::CertificateProvisioningServiceFactoryIOS::GetInstance();
  collaboration::CollaborationServiceFactory::GetInstance();
  collaboration::messaging::InstantMessagingServiceFactory::GetInstance();
  collaboration::messaging::MessagingBackendServiceFactory::GetInstance();
  commerce::ShoppingServiceFactory::GetInstance();
  client_certificates::ClientCertificatesServiceIOSFactory::GetInstance();
  data_controls::IOSRulesServiceFactory::GetInstance();
  data_sharing::DataSharingServiceFactory::GetInstance();
  drive::DriveServiceFactory::GetInstance();
  DataProtectionUrlLookupServiceFactory::GetInstance();
  enterprise::ProfileIdServiceFactoryIOS::GetInstance();
  enterprise_reporting::CloudProfileReportingServiceFactoryIOS::GetInstance();
  enterprise_connectors::ConnectorsServiceFactory::GetInstance();
  enterprise_connectors::BackgroundCloudScannerManagerFactory::GetInstance();
  enterprise_connectors::IOSCloudBinaryUploadServiceFactory::GetInstance();
  enterprise_connectors::IOSRealtimeReportingClientFactory::GetInstance();
  enterprise_connectors::IOSReportingEventRouterFactory::GetInstance();
  enterprise_groups::EnterpriseGroupsProfileHandlerFactory::GetInstance();
  enterprise_idle::IdleServiceFactory::GetInstance();
  feature_engagement::TrackerFactory::GetInstance();
  ios::AboutSigninInternalsFactory::GetInstance();
  ios::AccountBookmarkSyncServiceFactory::GetInstance();
  ios::AccountConsistencyServiceFactory::GetInstance();
  ios::AccountInvestigatorFactory::GetInstance();
  ios::AccountReconcilorFactory::GetInstance();
  ios::AutocompleteClassifierFactory::GetInstance();
  ios::AutocompleteScoringModelServiceFactory::GetInstance();
  ios::BookmarkModelFactory::GetInstance();
  ios::BookmarkUndoServiceFactory::GetInstance();
  ios::FaviconServiceFactory::GetInstance();
  ios::HistoryServiceFactory::GetInstance();
  ios::HostContentSettingsMapFactory::GetInstance();
  ios::InMemoryURLIndexFactory::GetInstance();
  ios::LocalOrSyncableBookmarkSyncServiceFactory::GetInstance();
  ios::PasswordManagerLogRouterFactory::GetInstance();
  ios::PlaceholderServiceFactory::GetInstance();
  ios::ProviderStateServiceFactory::GetInstance();
  ios::RegionalCapabilitiesServiceFactory::GetInstance();
  ios::SearchEngineChoiceServiceFactory::GetInstance();
  ios::ShortcutsBackendFactory::GetInstance();
  ios::SearchEngineChoiceTriggeringServiceFactory::GetInstance();
  ios::SigninErrorControllerFactory::GetInstance();
  ios::TemplateURLFetcherFactory::GetInstance();
  ios::TemplateURLPrepopulateDataResolverFactory::GetInstance();
  ios::TemplateURLServiceFactory::GetInstance();
  ios::TopSitesFactory::GetInstance();
  ios::WebDataServiceFactory::GetInstance();
  ios::WebHistoryServiceFactory::GetInstance();
  ios::ZeroSuggestCacheServiceFactory::GetInstance();
  policy::UserPolicySigninServiceFactory::GetInstance();
  safe_browsing::ChromeEnterpriseRealTimeUrlLookupServiceFactory::GetInstance();
  segmentation_platform::SegmentationPlatformServiceFactory::GetInstance();
  supervised_user::FamilyLinkSettingsServiceFactory::GetInstance();
  supervised_user::ListFamilyMembersServiceFactory::GetInstance();
  supervised_user::SupervisedUserServiceFactory::GetInstance();
  supervised_user::SupervisedUserUrlFilteringServiceFactory::GetInstance();
  tab_groups::TabGroupSyncServiceFactory::GetInstance();
  translate::TranslateRankerFactory::GetInstance();
  AboutThisSiteServiceFactory::GetInstance();
  AcceptLanguagesServiceFactory::GetInstance();
  AccountPreviewDataServiceFactory::GetInstance();
  AppStoreBundleServiceFactory::GetInstance();
  AuthenticationServiceFactory::GetInstance();
  BackendPromoServiceFactory::GetInstance();
  BackgroundDownloadServiceFactory::GetInstance();
  BookmarkModelMetricsServiceFactory::GetInstance();
  BreadcrumbManagerKeyedServiceFactory::GetInstance();
  BringAndroidTabsToIOSServiceFactory::GetInstance();
  BrowserDownloadServiceFactory::GetInstance();
  BrowserListFactory::GetInstance();
  BrowsingDataRemoverFactory::GetInstance();
  ChildAccountServiceFactory::GetInstance();
  ChromeAccountManagerServiceFactory::GetInstance();
  ChromePasswordProtectionServiceFactory::GetInstance();
  ClientSideDetectionServiceFactory::GetInstance();
  ConsentAuditorFactory::GetInstance();
  ContentNotificationServiceFactory::GetInstance();
  ContextualPanelModelServiceFactory::GetInstance();
  ContextualSearchServiceFactory::GetInstance();
  CredentialsCleanerRunnerFactory::GetInstance();
  CrossDevicePrefTrackerFactory::GetInstance();
  CrossPlatformPromosServiceFactory::GetInstance();
  DataTypeStoreServiceFactory::GetInstance();
  DeviceAuthenticatorProxyFactory::GetInstance();
  DeviceInfoSyncServiceFactory::GetInstance();
  DeviceSharingManagerFactory::GetInstance();
  DeviceTrustConnectorServiceFactoryIOS::GetInstance();
  DiscoverFeedServiceFactory::GetInstance();
  DistillerServiceFactory::GetInstance();
  DomainDiversityReporterFactory::GetInstance();
  DownloadFileServiceFactory::GetInstance();
  DownloadRecordServiceFactory::GetInstance();
  ExternalFileRemoverFactory::GetInstance();
  GeminiCapabilitiesManagerFactory::GetInstance();
  GeminiServiceFactory::GetInstance();
  GoogleGroupsManagerFactory::GetInstance();
  GoogleLogoServiceFactory::GetInstance();
  HashRealTimeServiceFactory::GetInstance();
  HomeBackgroundCustomizationServiceFactory::GetInstance();
  HomeBackgroundImageServiceFactory::GetInstance();
  NtpBackgroundServiceFactory::GetInstance();
  LevelUpServiceFactory::GetInstance();
  HttpsUpgradeServiceFactory::GetInstance();
  IdentityManagerFactory::GetInstance();
  ImageFetcherServiceFactory::GetInstance();
  ImpressionLimitServiceFactory::GetInstance();
  InactiveTabsServiceFactory::GetInstance();
  IOSAccountSettingServiceFactory::GetInstance();
  IOSAtMemoryQueryServiceFactory::GetInstance();
  IOSAutofillAiModelCacheFactory::GetInstance();
  IOSAutofillAiModelExecutorFactory::GetInstance();
  IOSAutofillAiPersonalContextAccessManagerFactory::GetInstance();
  IOSAutofillEntityDataManagerFactory::GetInstance();
  IOSAutofillFieldClassificationModelHandlerFactory::GetInstance();
  IOSChromeAccountPasswordStoreFactory::GetInstance();
  IOSChromeAffiliationServiceFactory::GetInstance();
  IOSChromeAimEligibilityServiceFactory::GetInstance();
  IOSChromeBulkLeakCheckServiceFactory::GetInstance();
  IOSChromeFaviconLoaderFactory::GetInstance();
  IOSChromeGCMProfileServiceFactory::GetInstance();
  IOSChromeInstanceIDProfileServiceFactory::GetInstance();
  IOSChromeLargeIconCacheFactory::GetInstance();
  IOSChromeLargeIconServiceFactory::GetInstance();
  IOSChromePasswordCheckManagerFactory::GetInstance();
  IOSChromePasswordReceiverServiceFactory::GetInstance();
  IOSChromePasswordReuseManagerFactory::GetInstance();
  IOSChromePasswordSenderServiceFactory::GetInstance();
  IOSChromeProfileInvalidationProviderFactory::GetInstance();
  IOSChromeProfilePasswordStoreFactory::GetInstance();
  IOSChromeSafetyCheckManagerFactory::GetInstance();
  IOSChromeTabRestoreServiceFactory::GetInstance();
  IOSContextualTasksServiceFactory::GetInstance();
  IOSPasswordFieldClassificationModelHandlerFactory::GetInstance();
  IOSPasskeyModelFactory::GetInstance();
  IOSPasswordManagerSettingsServiceFactory::GetInstance();
  IOSPasswordRequirementsServiceFactory::GetInstance();
  IOSPersonalContextEligibilityServiceFactory::GetInstance();
  IOSPersonalContextFirstRunServiceFactory::GetInstance();
  IOSPersonalContextServiceFactory::GetInstance();
  IOSProfileMetricsServiceFactory::GetInstance();
  IOSProfileSessionDurationsServiceFactory::GetInstance();
  IOSSharingMessageBridgeFactory::GetInstance();
  IOSSharingServiceFactory::GetInstance();
  IOSSignalsAggregatorFactory::GetInstance();
  IOSTrustedVaultServiceFactory::GetInstance();
  IOSUserEventServiceFactory::GetInstance();
  IOSWalletPassAccessManagerFactory::GetInstance();
  JavaScriptConsoleFeatureFactory::GetInstance();
  LanguageDetectionModelLoaderServiceIOSFactory::GetInstance();
  LanguageModelManagerFactory::GetInstance();
  MailtoHandlerServiceFactory::GetInstance();
  ManagedBookmarkServiceFactory::GetInstance();
  MiniMapServiceFactory::GetInstance();
  NTPBackgroundImageCacheServiceFactory::GetInstance();
  OhttpKeyServiceFactory::GetInstance();
  OnDevicePageClassificationServiceFactory::GetInstance();
  OnDeviceTailModelServiceFactory::GetInstance();
  OptimizationGuideServiceFactory::GetInstance();
  PageContentAnnotationsServiceFactory::GetInstance();
  PageImageServiceFactory::GetInstance();
  PageContentCacheServiceFactory::GetInstance();
  PhotosServiceFactory::GetInstance();
  PolicyBlocklistServiceFactory::GetInstance();
  PowerBookmarkServiceFactory::GetInstance();
  PriceInsightsModelFactory::GetInstance();
  PrivateAiServiceFactory::GetInstance();
  PromosManagerFactory::GetInstance();
  ProvisionalPushNotificationServiceFactory::GetInstance();
  PushNotificationProfileServiceFactory::GetInstance();
  ReadingListModelFactory::GetInstance();
  RealTimeUrlLookupServiceFactory::GetInstance();
  ReauthenticationServiceFactory::GetInstance();
  RemoteSuggestionsServiceFactory::GetInstance();
  SafeBrowsingClientFactory::GetInstance();
  SafeBrowsingHelperFactory::GetInstance();
  SafeBrowsingMetricsCollectorFactory::GetInstance();
  SamplePanelModelFactory::GetInstance();
  SendTabToSelfSyncServiceFactory::GetInstance();
  SessionRestorationServiceFactory::GetInstance();
  SessionSyncServiceFactory::GetInstance();
  ShareKitServiceFactory::GetInstance();
  SigninClientFactory::GetInstance();
  SigninMetricsServiceFactory::GetInstance();
  SigninProfileInfoUpdaterFactory::GetInstance();
  SupervisedUserMetricsServiceFactory::GetInstance();
  supervised_user::SupervisedUserServiceFactory::GetInstance();
  SubscriptionEligibilityServiceFactory::GetInstance();
  SyncInvalidationsServiceFactory::GetInstance();
  SyncServiceFactory::GetInstance();
  TabGroupServiceFactory::GetInstance();
  TabUsageRecorderServiceFactory::GetInstance();
  TabsSearchServiceFactory::GetInstance();
  TailoredSecurityServiceFactory::GetInstance();
  TextClassifierModelServiceFactory::GetInstance();
  TextToSpeechPlaybackControllerFactory::GetInstance();
  TipsManagerIOSFactory::GetInstance();
  LanguageDetectionModelServiceFactory::GetInstance();
  TrustedVaultClientBackendFactory::GetInstance();
  UnifiedConsentServiceFactory::GetInstance();
  UnitConversionServiceFactory::GetInstance();
  universal_optout::UniversalOptOutServiceFactory::GetInstance();
  UrlKeyedDataCollectionConsentHelperFactoryIOS::GetInstance();
  UrlLanguageHistogramFactory::GetInstance();
  UserUploadedImageManagerFactory::GetInstance();
  V5GetHashProtocolManagerFactory::GetInstance();
  V5SearchHashesCacheFactory::GetInstance();
  VariationsClientServiceFactory::GetInstance();
  VerdictCacheManagerFactory::GetInstance();
  VisitedURLRankingServiceFactory::GetInstance();
  // Keep the above list alphabetized! Don't just add new entries at the end.

#if BUILDFLAG(IOS_CREDENTIAL_PROVIDER_ENABLED)
  CredentialProviderServiceFactory::GetInstance();
#endif

  // Call other "Ensure...FactoriesBuilt" functions as necessary.
  EnsureSessionProtoDBFactoriesBuilt();

  InProcessCategoryClassificationService::EnsureFactoryBuilt();
  if (web::features::IsCobaltEnabled()) {
    ios::provider::EnsureCobaltProfileKeyedServiceFactoriesBuilt();
  }
}
