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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 123 |
124 #if defined(OS_CHROMEOS) | 124 #if defined(OS_CHROMEOS) |
125 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" | 125 #include "chrome/browser/chromeos/printer_detector/printer_detector_factory.h" |
126 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" | 126 #include "chrome/browser/extensions/api/platform_keys/verify_trust_api.h" |
127 #endif | 127 #endif |
128 | 128 |
129 #if !defined(OS_ANDROID) | 129 #if !defined(OS_ANDROID) |
130 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" | 130 #include "chrome/browser/profile_resetter/automatic_profile_resetter_factory.h" |
131 #endif | 131 #endif |
132 | 132 |
| 133 #if defined(OS_WIN) |
| 134 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" |
| 135 #endif |
| 136 |
133 #if defined(ENABLE_SPELLCHECK) | 137 #if defined(ENABLE_SPELLCHECK) |
134 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 138 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
135 #endif | 139 #endif |
136 | 140 |
137 #if defined(ENABLE_SERVICE_DISCOVERY) | 141 #if defined(ENABLE_SERVICE_DISCOVERY) |
138 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 142 #include "chrome/browser/local_discovery/privet_notifications_factory.h" |
139 #endif | 143 #endif |
140 | 144 |
141 namespace chrome { | 145 namespace chrome { |
142 | 146 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 SpellcheckServiceFactory::GetInstance(); | 324 SpellcheckServiceFactory::GetInstance(); |
321 #endif | 325 #endif |
322 suggestions::SuggestionsServiceFactory::GetInstance(); | 326 suggestions::SuggestionsServiceFactory::GetInstance(); |
323 ThumbnailServiceFactory::GetInstance(); | 327 ThumbnailServiceFactory::GetInstance(); |
324 TabRestoreServiceFactory::GetInstance(); | 328 TabRestoreServiceFactory::GetInstance(); |
325 TemplateURLFetcherFactory::GetInstance(); | 329 TemplateURLFetcherFactory::GetInstance(); |
326 TemplateURLServiceFactory::GetInstance(); | 330 TemplateURLServiceFactory::GetInstance(); |
327 #if defined(ENABLE_THEMES) | 331 #if defined(ENABLE_THEMES) |
328 ThemeServiceFactory::GetInstance(); | 332 ThemeServiceFactory::GetInstance(); |
329 #endif | 333 #endif |
| 334 #if defined(OS_WIN) |
| 335 TriggeredProfileResetterFactory::GetInstance(); |
| 336 #endif |
330 WebDataServiceFactory::GetInstance(); | 337 WebDataServiceFactory::GetInstance(); |
331 } | 338 } |
332 | 339 |
333 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 340 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
334 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 341 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
335 } | 342 } |
OLD | NEW |