| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 void ChromeBrowserMainExtraPartsProfiles:: | 174 void ChromeBrowserMainExtraPartsProfiles:: |
| 175 EnsureBrowserContextKeyedServiceFactoriesBuilt() { | 175 EnsureBrowserContextKeyedServiceFactoriesBuilt() { |
| 176 #if defined(ENABLE_EXTENSIONS) | 176 #if defined(ENABLE_EXTENSIONS) |
| 177 apps::EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 177 apps::EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 178 extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 178 extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 179 extensions::ExtensionManagementFactory::GetInstance(); | 179 extensions::ExtensionManagementFactory::GetInstance(); |
| 180 chrome_extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 180 chrome_extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 181 AppShortcutManagerFactory::GetInstance(); | 181 AppShortcutManagerFactory::GetInstance(); |
| 182 #endif | 182 #endif |
| 183 | 183 |
| 184 #if defined(ENABLE_APP_LIST) | 184 #if BUILDFLAG(ENABLE_APP_LIST) |
| 185 app_list::AppListSyncableServiceFactory::GetInstance(); | 185 app_list::AppListSyncableServiceFactory::GetInstance(); |
| 186 #endif | 186 #endif |
| 187 | 187 |
| 188 AboutSigninInternalsFactory::GetInstance(); | 188 AboutSigninInternalsFactory::GetInstance(); |
| 189 AccountInvestigatorFactory::GetInstance(); | 189 AccountInvestigatorFactory::GetInstance(); |
| 190 AccountTrackerServiceFactory::GetInstance(); | 190 AccountTrackerServiceFactory::GetInstance(); |
| 191 AccountFetcherServiceFactory::GetInstance(); | 191 AccountFetcherServiceFactory::GetInstance(); |
| 192 autofill::PersonalDataManagerFactory::GetInstance(); | 192 autofill::PersonalDataManagerFactory::GetInstance(); |
| 193 #if BUILDFLAG(ENABLE_BACKGROUND) | 193 #if BUILDFLAG(ENABLE_BACKGROUND) |
| 194 BackgroundContentsServiceFactory::GetInstance(); | 194 BackgroundContentsServiceFactory::GetInstance(); |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 #endif | 340 #endif |
| 341 #if !defined(OS_ANDROID) | 341 #if !defined(OS_ANDROID) |
| 342 UsbChooserContextFactory::GetInstance(); | 342 UsbChooserContextFactory::GetInstance(); |
| 343 #endif | 343 #endif |
| 344 WebDataServiceFactory::GetInstance(); | 344 WebDataServiceFactory::GetInstance(); |
| 345 } | 345 } |
| 346 | 346 |
| 347 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 347 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 348 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 348 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 349 } | 349 } |
| OLD | NEW |