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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 #endif | 128 #endif |
129 | 129 |
130 #if defined(OS_WIN) | 130 #if defined(OS_WIN) |
131 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" | 131 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" |
132 #endif | 132 #endif |
133 | 133 |
134 #if defined(ENABLE_SPELLCHECK) | 134 #if defined(ENABLE_SPELLCHECK) |
135 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 135 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
136 #endif | 136 #endif |
137 | 137 |
138 #if defined(ENABLE_SERVICE_DISCOVERY) | 138 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
139 #include "chrome/browser/printing/cloud_print/privet_notifications_factory.h" | 139 #include "chrome/browser/printing/cloud_print/privet_notifications_factory.h" |
140 #endif | 140 #endif |
141 | 141 |
142 #if defined(ENABLE_MEDIA_ROUTER) | 142 #if defined(ENABLE_MEDIA_ROUTER) |
143 #include "chrome/browser/media/router/media_router_factory.h" | 143 #include "chrome/browser/media/router/media_router_factory.h" |
144 #if !defined(OS_ANDROID) | 144 #if !defined(OS_ANDROID) |
145 #include "chrome/browser/media/router/media_router_ui_service_factory.h" | 145 #include "chrome/browser/media/router/media_router_ui_service_factory.h" |
146 #endif | 146 #endif |
147 #endif | 147 #endif |
148 | 148 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 #endif | 237 #endif |
238 GoogleURLTrackerFactory::GetInstance(); | 238 GoogleURLTrackerFactory::GetInstance(); |
239 HistoryServiceFactory::GetInstance(); | 239 HistoryServiceFactory::GetInstance(); |
240 #if defined(ENABLE_EXTENSIONS) | 240 #if defined(ENABLE_EXTENSIONS) |
241 HotwordServiceFactory::GetInstance(); | 241 HotwordServiceFactory::GetInstance(); |
242 #endif | 242 #endif |
243 HostContentSettingsMapFactory::GetInstance(); | 243 HostContentSettingsMapFactory::GetInstance(); |
244 InMemoryURLIndexFactory::GetInstance(); | 244 InMemoryURLIndexFactory::GetInstance(); |
245 invalidation::ProfileInvalidationProviderFactory::GetInstance(); | 245 invalidation::ProfileInvalidationProviderFactory::GetInstance(); |
246 InstantServiceFactory::GetInstance(); | 246 InstantServiceFactory::GetInstance(); |
247 #if defined(ENABLE_SERVICE_DISCOVERY) | 247 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
248 cloud_print::PrivetNotificationServiceFactory::GetInstance(); | 248 cloud_print::PrivetNotificationServiceFactory::GetInstance(); |
249 #endif | 249 #endif |
250 #if defined(ENABLE_SUPERVISED_USERS) | 250 #if defined(ENABLE_SUPERVISED_USERS) |
251 #if defined(OS_CHROMEOS) | 251 #if defined(OS_CHROMEOS) |
252 chromeos::SupervisedUserPasswordServiceFactory::GetInstance(); | 252 chromeos::SupervisedUserPasswordServiceFactory::GetInstance(); |
253 chromeos::ManagerPasswordServiceFactory::GetInstance(); | 253 chromeos::ManagerPasswordServiceFactory::GetInstance(); |
254 #endif | 254 #endif |
255 SupervisedUserServiceFactory::GetInstance(); | 255 SupervisedUserServiceFactory::GetInstance(); |
256 #if !defined(OS_ANDROID) | 256 #if !defined(OS_ANDROID) |
257 SupervisedUserSyncServiceFactory::GetInstance(); | 257 SupervisedUserSyncServiceFactory::GetInstance(); |
(...skipping 82 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 |