Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc

Issue 2407483002: Make enable_service_discovery a chrome/ feature. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698