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

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

Issue 434253002: Only build EasyUnlockService when extensions are enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/browser/autocomplete/shortcuts_backend_factory.h" 7 #include "chrome/browser/autocomplete/shortcuts_backend_factory.h"
8 #include "chrome/browser/autofill/personal_data_manager_factory.h" 8 #include "chrome/browser/autofill/personal_data_manager_factory.h"
9 #include "chrome/browser/background/background_contents_service_factory.h" 9 #include "chrome/browser/background/background_contents_service_factory.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
(...skipping 19 matching lines...) Expand all
30 #include "chrome/browser/prerender/prerender_manager_factory.h" 30 #include "chrome/browser/prerender/prerender_manager_factory.h"
31 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h" 31 #include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory. h"
32 #include "chrome/browser/profiles/gaia_info_update_service_factory.h" 32 #include "chrome/browser/profiles/gaia_info_update_service_factory.h"
33 #include "chrome/browser/search/instant_service_factory.h" 33 #include "chrome/browser/search/instant_service_factory.h"
34 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" 34 #include "chrome/browser/search/suggestions/suggestions_service_factory.h"
35 #include "chrome/browser/search_engines/template_url_fetcher_factory.h" 35 #include "chrome/browser/search_engines/template_url_fetcher_factory.h"
36 #include "chrome/browser/search_engines/template_url_service_factory.h" 36 #include "chrome/browser/search_engines/template_url_service_factory.h"
37 #include "chrome/browser/sessions/session_service_factory.h" 37 #include "chrome/browser/sessions/session_service_factory.h"
38 #include "chrome/browser/sessions/tab_restore_service_factory.h" 38 #include "chrome/browser/sessions/tab_restore_service_factory.h"
39 #include "chrome/browser/signin/about_signin_internals_factory.h" 39 #include "chrome/browser/signin/about_signin_internals_factory.h"
40 #include "chrome/browser/signin/easy_unlock_service_factory.h"
41 #include "chrome/browser/signin/signin_manager_factory.h" 40 #include "chrome/browser/signin/signin_manager_factory.h"
42 #include "chrome/browser/sync/profile_sync_service_factory.h" 41 #include "chrome/browser/sync/profile_sync_service_factory.h"
43 #include "chrome/browser/themes/theme_service_factory.h" 42 #include "chrome/browser/themes/theme_service_factory.h"
44 #include "chrome/browser/thumbnails/thumbnail_service_factory.h" 43 #include "chrome/browser/thumbnails/thumbnail_service_factory.h"
45 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h" 44 #include "chrome/browser/ui/app_list/app_list_syncable_service_factory.h"
46 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h" 45 #include "chrome/browser/ui/find_bar/find_bar_state_factory.h"
47 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 46 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
48 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h" 47 #include "chrome/browser/ui/tabs/pinned_tab_service_factory.h"
49 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h" 48 #include "chrome/browser/ui/webui/ntp/ntp_resource_cache_factory.h"
50 #include "chrome/browser/undo/bookmark_undo_service_factory.h" 49 #include "chrome/browser/undo/bookmark_undo_service_factory.h"
51 #include "chrome/browser/webdata/web_data_service_factory.h" 50 #include "chrome/browser/webdata/web_data_service_factory.h"
52 51
53 #if defined(ENABLE_EXTENSIONS) 52 #if defined(ENABLE_EXTENSIONS)
54 #include "apps/browser_context_keyed_service_factories.h" 53 #include "apps/browser_context_keyed_service_factories.h"
55 #include "chrome/browser/apps/ephemeral_app_service_factory.h" 54 #include "chrome/browser/apps/ephemeral_app_service_factory.h"
56 #include "chrome/browser/apps/shortcut_manager_factory.h" 55 #include "chrome/browser/apps/shortcut_manager_factory.h"
57 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h" 56 #include "chrome/browser/extensions/browser_context_keyed_service_factories.h"
58 #include "chrome/browser/search/hotword_service_factory.h" 57 #include "chrome/browser/search/hotword_service_factory.h"
58 #include "chrome/browser/signin/easy_unlock_service_factory.h"
59 #include "extensions/browser/browser_context_keyed_service_factories.h" 59 #include "extensions/browser/browser_context_keyed_service_factories.h"
60 #endif 60 #endif
61 61
62 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 62 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
63 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 63 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
64 #endif 64 #endif
65 65
66 #if defined(ENABLE_CONFIGURATION_POLICY) 66 #if defined(ENABLE_CONFIGURATION_POLICY)
67 #include "chrome/browser/policy/cloud/policy_header_service_factory.h" 67 #include "chrome/browser/policy/cloud/policy_header_service_factory.h"
68 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h" 68 #include "chrome/browser/policy/cloud/user_cloud_policy_invalidator_factory.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 #if defined(ENABLE_FULL_PRINTING) 171 #if defined(ENABLE_FULL_PRINTING)
172 CloudPrintProxyServiceFactory::GetInstance(); 172 CloudPrintProxyServiceFactory::GetInstance();
173 #endif 173 #endif
174 CookieSettings::Factory::GetInstance(); 174 CookieSettings::Factory::GetInstance();
175 #if defined(ENABLE_NOTIFICATIONS) 175 #if defined(ENABLE_NOTIFICATIONS)
176 DesktopNotificationServiceFactory::GetInstance(); 176 DesktopNotificationServiceFactory::GetInstance();
177 #endif 177 #endif
178 dom_distiller::DomDistillerServiceFactory::GetInstance(); 178 dom_distiller::DomDistillerServiceFactory::GetInstance();
179 domain_reliability::DomainReliabilityServiceFactory::GetInstance(); 179 domain_reliability::DomainReliabilityServiceFactory::GetInstance();
180 DownloadServiceFactory::GetInstance(); 180 DownloadServiceFactory::GetInstance();
181 #if defined(ENABLE_EXTENSIONS)
181 EasyUnlockServiceFactory::GetInstance(); 182 EasyUnlockServiceFactory::GetInstance();
183 #endif
182 FaviconServiceFactory::GetInstance(); 184 FaviconServiceFactory::GetInstance();
183 FindBarStateFactory::GetInstance(); 185 FindBarStateFactory::GetInstance();
184 GAIAInfoUpdateServiceFactory::GetInstance(); 186 GAIAInfoUpdateServiceFactory::GetInstance();
185 #if defined(USE_AURA) 187 #if defined(USE_AURA)
186 GesturePrefsObserverFactoryAura::GetInstance(); 188 GesturePrefsObserverFactoryAura::GetInstance();
187 #endif 189 #endif
188 GlobalErrorServiceFactory::GetInstance(); 190 GlobalErrorServiceFactory::GetInstance();
189 GoogleURLTrackerFactory::GetInstance(); 191 GoogleURLTrackerFactory::GetInstance();
190 HistoryServiceFactory::GetInstance(); 192 HistoryServiceFactory::GetInstance();
191 #if defined(ENABLE_EXTENSIONS) 193 #if defined(ENABLE_EXTENSIONS)
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 TemplateURLServiceFactory::GetInstance(); 258 TemplateURLServiceFactory::GetInstance();
257 #if defined(ENABLE_THEMES) 259 #if defined(ENABLE_THEMES)
258 ThemeServiceFactory::GetInstance(); 260 ThemeServiceFactory::GetInstance();
259 #endif 261 #endif
260 WebDataServiceFactory::GetInstance(); 262 WebDataServiceFactory::GetInstance();
261 } 263 }
262 264
263 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 265 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
264 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 266 EnsureBrowserContextKeyedServiceFactoriesBuilt();
265 } 267 }
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698