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

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

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge Created 4 years, 1 month 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "chrome/browser/themes/theme_service_factory.h" 63 #include "chrome/browser/themes/theme_service_factory.h"
64 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" 64 #include "chrome/browser/thumbnails/thumbnail_service_factory.h"
65 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" 65 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h"
66 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" 66 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h"
67 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" 67 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
68 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" 68 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h"
69 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" 69 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
70 #include "chrome/browser/undo/bookmark_undo_service_factory.h" 70 #include "chrome/browser/undo/bookmark_undo_service_factory.h"
71 #include "chrome/browser/web_data_service_factory.h" 71 #include "chrome/browser/web_data_service_factory.h"
72 #include "chrome/common/features.h" 72 #include "chrome/common/features.h"
73 #include "printing/features/features.h"
73 74
74 #if defined(ENABLE_EXTENSIONS) 75 #if defined(ENABLE_EXTENSIONS)
75 #include "apps/browser_context_keyed_service_factories.h" 76 #include "apps/browser_context_keyed_service_factories.h"
76 #include "chrome/browser/apps/shortcut_manager_factory.h" 77 #include "chrome/browser/apps/shortcut_manager_factory.h"
77 #include "chrome/browser/extensions/api/networking_private/networking_private_ui _delegate_factory_impl.h" 78 #include "chrome/browser/extensions/api/networking_private/networking_private_ui _delegate_factory_impl.h"
78 #include "chrome/browser/extensions/api/networking_private/networking_private_ve rify_delegate_factory_impl.h" 79 #include "chrome/browser/extensions/api/networking_private/networking_private_ve rify_delegate_factory_impl.h"
79 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" 80 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h"
80 #include "chrome/browser/extensions/extension_management.h" 81 #include "chrome/browser/extensions/extension_management.h"
81 #include "chrome/browser/search/hotword_service_factory.h" 82 #include "chrome/browser/search/hotword_service_factory.h"
82 #include "chrome/browser/signin/easy_unlock_service_factory.h" 83 #include "chrome/browser/signin/easy_unlock_service_factory.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 BookmarkModelFactory::GetInstance(); 197 BookmarkModelFactory::GetInstance();
197 BookmarkUndoServiceFactory::GetInstance(); 198 BookmarkUndoServiceFactory::GetInstance();
198 BrowsingDataRemoverFactory::GetInstance(); 199 BrowsingDataRemoverFactory::GetInstance();
199 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION) 200 #if BUILDFLAG(ENABLE_CAPTIVE_PORTAL_DETECTION)
200 CaptivePortalServiceFactory::GetInstance(); 201 CaptivePortalServiceFactory::GetInstance();
201 #endif 202 #endif
202 #if defined(OS_ANDROID) 203 #if defined(OS_ANDROID)
203 chrome::android::DataUseUITabModelFactory::GetInstance(); 204 chrome::android::DataUseUITabModelFactory::GetInstance();
204 #endif 205 #endif
205 UINetworkQualityEstimatorServiceFactory::GetInstance(); 206 UINetworkQualityEstimatorServiceFactory::GetInstance();
206 #if defined(ENABLE_PRINT_PREVIEW) 207 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
207 CloudPrintProxyServiceFactory::GetInstance(); 208 CloudPrintProxyServiceFactory::GetInstance();
208 #endif 209 #endif
209 CookieSettingsFactory::GetInstance(); 210 CookieSettingsFactory::GetInstance();
210 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) 211 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
211 CrossDevicePromoFactory::GetInstance(); 212 CrossDevicePromoFactory::GetInstance();
212 #endif 213 #endif
213 #if defined(ENABLE_NOTIFICATIONS) 214 #if defined(ENABLE_NOTIFICATIONS)
214 #if defined(ENABLE_EXTENSIONS) 215 #if defined(ENABLE_EXTENSIONS)
215 ExtensionWelcomeNotificationFactory::GetInstance(); 216 ExtensionWelcomeNotificationFactory::GetInstance();
216 #endif 217 #endif
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 #endif 341 #endif
341 #if !defined(OS_ANDROID) 342 #if !defined(OS_ANDROID)
342 UsbChooserContextFactory::GetInstance(); 343 UsbChooserContextFactory::GetInstance();
343 #endif 344 #endif
344 WebDataServiceFactory::GetInstance(); 345 WebDataServiceFactory::GetInstance();
345 } 346 }
346 347
347 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 348 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
348 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 349 EnsureBrowserContextKeyedServiceFactoriesBuilt();
349 } 350 }
OLDNEW
« no previous file with comments | « chrome/browser/printing/printing_message_filter.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698