OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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/chrome_browser_main_extra_parts_profiles.h" | 5 #include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" | 55 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" |
56 #include "chrome/browser/search_engines/template_url_service_factory.h" | 56 #include "chrome/browser/search_engines/template_url_service_factory.h" |
57 #include "chrome/browser/sessions/session_service_factory.h" | 57 #include "chrome/browser/sessions/session_service_factory.h" |
58 #include "chrome/browser/sessions/tab_restore_service_factory.h" | 58 #include "chrome/browser/sessions/tab_restore_service_factory.h" |
59 #include "chrome/browser/signin/about_signin_internals_factory.h" | 59 #include "chrome/browser/signin/about_signin_internals_factory.h" |
60 #include "chrome/browser/signin/account_fetcher_service_factory.h" | 60 #include "chrome/browser/signin/account_fetcher_service_factory.h" |
61 #include "chrome/browser/signin/account_investigator_factory.h" | 61 #include "chrome/browser/signin/account_investigator_factory.h" |
62 #include "chrome/browser/signin/account_tracker_service_factory.h" | 62 #include "chrome/browser/signin/account_tracker_service_factory.h" |
63 #include "chrome/browser/signin/signin_manager_factory.h" | 63 #include "chrome/browser/signin/signin_manager_factory.h" |
64 #include "chrome/browser/sync/profile_sync_service_factory.h" | 64 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 65 #include "chrome/browser/sync/user_event_service_factory.h" |
65 #include "chrome/browser/themes/theme_service_factory.h" | 66 #include "chrome/browser/themes/theme_service_factory.h" |
66 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" | 67 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" |
67 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" | 68 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" |
68 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" | 69 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" |
69 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" | 70 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" |
70 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" | 71 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" |
71 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" | 72 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" |
72 #include "chrome/browser/undo/bookmark_undo_service_factory.h" | 73 #include "chrome/browser/undo/bookmark_undo_service_factory.h" |
73 #include "chrome/browser/web_data_service_factory.h" | 74 #include "chrome/browser/web_data_service_factory.h" |
74 #include "chrome/common/features.h" | 75 #include "chrome/common/features.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 AboutSigninInternalsFactory::GetInstance(); | 189 AboutSigninInternalsFactory::GetInstance(); |
189 AccountInvestigatorFactory::GetInstance(); | 190 AccountInvestigatorFactory::GetInstance(); |
190 AccountTrackerServiceFactory::GetInstance(); | 191 AccountTrackerServiceFactory::GetInstance(); |
191 AccountFetcherServiceFactory::GetInstance(); | 192 AccountFetcherServiceFactory::GetInstance(); |
192 autofill::PersonalDataManagerFactory::GetInstance(); | 193 autofill::PersonalDataManagerFactory::GetInstance(); |
193 #if BUILDFLAG(ENABLE_BACKGROUND) | 194 #if BUILDFLAG(ENABLE_BACKGROUND) |
194 BackgroundContentsServiceFactory::GetInstance(); | 195 BackgroundContentsServiceFactory::GetInstance(); |
195 #endif | 196 #endif |
196 BookmarkModelFactory::GetInstance(); | 197 BookmarkModelFactory::GetInstance(); |
197 BookmarkUndoServiceFactory::GetInstance(); | 198 BookmarkUndoServiceFactory::GetInstance(); |
| 199 browser_sync::UserEventServiceFactory::GetInstance(); |
198 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) | 200 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) |
199 CaptivePortalServiceFactory::GetInstance(); | 201 CaptivePortalServiceFactory::GetInstance(); |
200 #endif | 202 #endif |
201 CertificateReportingServiceFactory::GetInstance(); | 203 CertificateReportingServiceFactory::GetInstance(); |
202 #if defined(OS_ANDROID) | 204 #if defined(OS_ANDROID) |
203 chrome::android::DataUseUITabModelFactory::GetInstance(); | 205 chrome::android::DataUseUITabModelFactory::GetInstance(); |
204 #endif | 206 #endif |
205 ChromeBrowsingDataRemoverDelegateFactory::GetInstance(); | 207 ChromeBrowsingDataRemoverDelegateFactory::GetInstance(); |
206 #if !defined(OS_ANDROID) | 208 #if !defined(OS_ANDROID) |
207 ChromeCryptAuthServiceFactory::GetInstance(); | 209 ChromeCryptAuthServiceFactory::GetInstance(); |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 UINetworkQualityEstimatorServiceFactory::GetInstance(); | 339 UINetworkQualityEstimatorServiceFactory::GetInstance(); |
338 #if !defined(OS_ANDROID) | 340 #if !defined(OS_ANDROID) |
339 UsbChooserContextFactory::GetInstance(); | 341 UsbChooserContextFactory::GetInstance(); |
340 #endif | 342 #endif |
341 WebDataServiceFactory::GetInstance(); | 343 WebDataServiceFactory::GetInstance(); |
342 } | 344 } |
343 | 345 |
344 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 346 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
345 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 347 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
346 } | 348 } |
OLD | NEW |