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 "chrome/browser/autocomplete/in_memory_url_index_factory.h" | 7 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |
8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" | 8 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h" |
9 #include "chrome/browser/autofill/personal_data_manager_factory.h" | 9 #include "chrome/browser/autofill/personal_data_manager_factory.h" |
10 #include "chrome/browser/background/background_contents_service_factory.h" | 10 #include "chrome/browser/background/background_contents_service_factory.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 #if defined(OS_CHROMEOS) | 119 #if defined(OS_CHROMEOS) |
120 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" | 120 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" |
121 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" | 121 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" |
122 #endif | 122 #endif |
123 | 123 |
124 #if !defined(OS_ANDROID) | 124 #if !defined(OS_ANDROID) |
125 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | 125 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" |
126 #include "chrome/browser/ui/global_error/global_error_service_factory.h" | 126 #include "chrome/browser/ui/global_error/global_error_service_factory.h" |
127 #endif | 127 #endif |
128 | 128 |
| 129 #if defined(OS_WIN) |
| 130 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" |
| 131 #endif |
| 132 |
129 #if defined(ENABLE_SPELLCHECK) | 133 #if defined(ENABLE_SPELLCHECK) |
130 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 134 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
131 #endif | 135 #endif |
132 | 136 |
133 #if defined(ENABLE_SERVICE_DISCOVERY) | 137 #if defined(ENABLE_SERVICE_DISCOVERY) |
134 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 138 #include "chrome/browser/local_discovery/privet_notifications_factory.h" |
135 #endif | 139 #endif |
136 | 140 |
137 namespace chrome { | 141 namespace chrome { |
138 | 142 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 SpellcheckServiceFactory::GetInstance(); | 320 SpellcheckServiceFactory::GetInstance(); |
317 #endif | 321 #endif |
318 suggestions::SuggestionsServiceFactory::GetInstance(); | 322 suggestions::SuggestionsServiceFactory::GetInstance(); |
319 ThumbnailServiceFactory::GetInstance(); | 323 ThumbnailServiceFactory::GetInstance(); |
320 TabRestoreServiceFactory::GetInstance(); | 324 TabRestoreServiceFactory::GetInstance(); |
321 TemplateURLFetcherFactory::GetInstance(); | 325 TemplateURLFetcherFactory::GetInstance(); |
322 TemplateURLServiceFactory::GetInstance(); | 326 TemplateURLServiceFactory::GetInstance(); |
323 #if defined(ENABLE_THEMES) | 327 #if defined(ENABLE_THEMES) |
324 ThemeServiceFactory::GetInstance(); | 328 ThemeServiceFactory::GetInstance(); |
325 #endif | 329 #endif |
| 330 #if defined(OS_WIN) |
| 331 TriggeredProfileResetterFactory::GetInstance(); |
| 332 #endif |
326 WebDataServiceFactory::GetInstance(); | 333 WebDataServiceFactory::GetInstance(); |
327 } | 334 } |
328 | 335 |
329 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 336 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
330 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 337 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
331 } | 338 } |
OLD | NEW |