| 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 <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" | 10 #include "chrome/browser/autocomplete/in_memory_url_index_factory.h" |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 134 |
| 135 #if defined(OS_WIN) | 135 #if defined(OS_WIN) |
| 136 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" | 136 #include "chrome/browser/profile_resetter/triggered_profile_resetter_factory.h" |
| 137 #endif | 137 #endif |
| 138 | 138 |
| 139 #if defined(ENABLE_SPELLCHECK) | 139 #if defined(ENABLE_SPELLCHECK) |
| 140 #include "chrome/browser/spellchecker/spellcheck_factory.h" | 140 #include "chrome/browser/spellchecker/spellcheck_factory.h" |
| 141 #endif | 141 #endif |
| 142 | 142 |
| 143 #if defined(ENABLE_SERVICE_DISCOVERY) | 143 #if defined(ENABLE_SERVICE_DISCOVERY) |
| 144 #include "chrome/browser/local_discovery/privet_notifications_factory.h" | 144 #include "chrome/browser/printing/cloud_print/privet_notifications_factory.h" |
| 145 #endif | 145 #endif |
| 146 | 146 |
| 147 namespace chrome { | 147 namespace chrome { |
| 148 | 148 |
| 149 void AddProfilesExtraParts(ChromeBrowserMainParts* main_parts) { | 149 void AddProfilesExtraParts(ChromeBrowserMainParts* main_parts) { |
| 150 main_parts->AddParts(new ChromeBrowserMainExtraPartsProfiles()); | 150 main_parts->AddParts(new ChromeBrowserMainExtraPartsProfiles()); |
| 151 } | 151 } |
| 152 | 152 |
| 153 } // namespace chrome | 153 } // namespace chrome |
| 154 | 154 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 GoogleURLTrackerFactory::GetInstance(); | 239 GoogleURLTrackerFactory::GetInstance(); |
| 240 HistoryServiceFactory::GetInstance(); | 240 HistoryServiceFactory::GetInstance(); |
| 241 #if defined(ENABLE_EXTENSIONS) | 241 #if defined(ENABLE_EXTENSIONS) |
| 242 HotwordServiceFactory::GetInstance(); | 242 HotwordServiceFactory::GetInstance(); |
| 243 #endif | 243 #endif |
| 244 HostContentSettingsMapFactory::GetInstance(); | 244 HostContentSettingsMapFactory::GetInstance(); |
| 245 InMemoryURLIndexFactory::GetInstance(); | 245 InMemoryURLIndexFactory::GetInstance(); |
| 246 invalidation::ProfileInvalidationProviderFactory::GetInstance(); | 246 invalidation::ProfileInvalidationProviderFactory::GetInstance(); |
| 247 InstantServiceFactory::GetInstance(); | 247 InstantServiceFactory::GetInstance(); |
| 248 #if defined(ENABLE_SERVICE_DISCOVERY) | 248 #if defined(ENABLE_SERVICE_DISCOVERY) |
| 249 local_discovery::PrivetNotificationServiceFactory::GetInstance(); | 249 cloud_print::PrivetNotificationServiceFactory::GetInstance(); |
| 250 #endif | 250 #endif |
| 251 #if defined(ENABLE_SUPERVISED_USERS) | 251 #if defined(ENABLE_SUPERVISED_USERS) |
| 252 #if defined(OS_CHROMEOS) | 252 #if defined(OS_CHROMEOS) |
| 253 chromeos::SupervisedUserPasswordServiceFactory::GetInstance(); | 253 chromeos::SupervisedUserPasswordServiceFactory::GetInstance(); |
| 254 chromeos::ManagerPasswordServiceFactory::GetInstance(); | 254 chromeos::ManagerPasswordServiceFactory::GetInstance(); |
| 255 #endif | 255 #endif |
| 256 SupervisedUserServiceFactory::GetInstance(); | 256 SupervisedUserServiceFactory::GetInstance(); |
| 257 #if !defined(OS_ANDROID) | 257 #if !defined(OS_ANDROID) |
| 258 SupervisedUserSyncServiceFactory::GetInstance(); | 258 SupervisedUserSyncServiceFactory::GetInstance(); |
| 259 #endif | 259 #endif |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 #endif | 339 #endif |
| 340 #if !defined(OS_ANDROID) | 340 #if !defined(OS_ANDROID) |
| 341 UsbChooserContextFactory::GetInstance(); | 341 UsbChooserContextFactory::GetInstance(); |
| 342 #endif | 342 #endif |
| 343 WebDataServiceFactory::GetInstance(); | 343 WebDataServiceFactory::GetInstance(); |
| 344 } | 344 } |
| 345 | 345 |
| 346 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { | 346 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { |
| 347 EnsureBrowserContextKeyedServiceFactoriesBuilt(); | 347 EnsureBrowserContextKeyedServiceFactoriesBuilt(); |
| 348 } | 348 } |
| OLD | NEW |