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

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

Issue 16658015: Add device policies to control accessibility settings on the login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed leaky tests. Created 7 years, 6 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
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 "apps/app_load_service_factory.h" 7 #include "apps/app_load_service_factory.h"
8 #include "apps/app_restore_service_factory.h" 8 #include "apps/app_restore_service_factory.h"
9 #include "apps/shell_window_geometry_cache.h" 9 #include "apps/shell_window_geometry_cache.h"
10 #include "apps/shortcut_manager_factory.h" 10 #include "apps/shortcut_manager_factory.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 #include "chrome/browser/undo/undo_service_factory.h" 93 #include "chrome/browser/undo/undo_service_factory.h"
94 #include "chrome/browser/user_style_sheet_watcher_factory.h" 94 #include "chrome/browser/user_style_sheet_watcher_factory.h"
95 #include "chrome/browser/webdata/web_data_service_factory.h" 95 #include "chrome/browser/webdata/web_data_service_factory.h"
96 96
97 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION) 97 #if defined(ENABLE_CAPTIVE_PORTAL_DETECTION)
98 #include "chrome/browser/captive_portal/captive_portal_service_factory.h" 98 #include "chrome/browser/captive_portal/captive_portal_service_factory.h"
99 #endif 99 #endif
100 100
101 #if defined(ENABLE_CONFIGURATION_POLICY) 101 #if defined(ENABLE_CONFIGURATION_POLICY)
102 #if defined(OS_CHROMEOS) 102 #if defined(OS_CHROMEOS)
103 #include "chrome/browser/chromeos/policy/recommendation_restorer_factory.h"
103 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h" 104 #include "chrome/browser/chromeos/policy/user_cloud_policy_manager_factory_chrom eos.h"
104 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto ry.h" 105 #include "chrome/browser/chromeos/policy/user_cloud_policy_token_forwarder_facto ry.h"
105 #else 106 #else
106 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h" 107 #include "chrome/browser/policy/cloud/user_cloud_policy_manager_factory.h"
107 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h" 108 #include "chrome/browser/policy/cloud/user_policy_signin_service_factory.h"
108 #endif 109 #endif
109 #endif 110 #endif
110 111
111 #if defined(ENABLE_MANAGED_USERS) 112 #if defined(ENABLE_MANAGED_USERS)
112 #include "chrome/browser/managed_mode/managed_user_service_factory.h" 113 #include "chrome/browser/managed_mode/managed_user_service_factory.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 PasswordStoreFactory::GetInstance(); 267 PasswordStoreFactory::GetInstance();
267 #if !defined(OS_ANDROID) 268 #if !defined(OS_ANDROID)
268 PinnedTabServiceFactory::GetInstance(); 269 PinnedTabServiceFactory::GetInstance();
269 #endif 270 #endif
270 #if defined(ENABLE_PLUGINS) 271 #if defined(ENABLE_PLUGINS)
271 PluginPrefsFactory::GetInstance(); 272 PluginPrefsFactory::GetInstance();
272 #endif 273 #endif
273 policy::ProfilePolicyConnectorFactory::GetInstance(); 274 policy::ProfilePolicyConnectorFactory::GetInstance();
274 #if defined(ENABLE_CONFIGURATION_POLICY) 275 #if defined(ENABLE_CONFIGURATION_POLICY)
275 #if defined(OS_CHROMEOS) 276 #if defined(OS_CHROMEOS)
277 policy::RecommendationRestorerFactory::GetInstance();
276 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance(); 278 policy::UserCloudPolicyManagerFactoryChromeOS::GetInstance();
277 policy::UserCloudPolicyTokenForwarderFactory::GetInstance(); 279 policy::UserCloudPolicyTokenForwarderFactory::GetInstance();
278 #else 280 #else
279 policy::UserCloudPolicyManagerFactory::GetInstance(); 281 policy::UserCloudPolicyManagerFactory::GetInstance();
280 policy::UserPolicySigninServiceFactory::GetInstance(); 282 policy::UserPolicySigninServiceFactory::GetInstance();
281 #endif 283 #endif
282 #endif 284 #endif
283 predictors::AutocompleteActionPredictorFactory::GetInstance(); 285 predictors::AutocompleteActionPredictorFactory::GetInstance();
284 predictors::PredictorDatabaseFactory::GetInstance(); 286 predictors::PredictorDatabaseFactory::GetInstance();
285 predictors::ResourcePrefetchPredictorFactory::GetInstance(); 287 predictors::ResourcePrefetchPredictorFactory::GetInstance();
(...skipping 18 matching lines...) Expand all
304 TokenServiceFactory::GetInstance(); 306 TokenServiceFactory::GetInstance();
305 #if !defined(OS_ANDROID) 307 #if !defined(OS_ANDROID)
306 UserStyleSheetWatcherFactory::GetInstance(); 308 UserStyleSheetWatcherFactory::GetInstance();
307 #endif 309 #endif
308 WebDataServiceFactory::GetInstance(); 310 WebDataServiceFactory::GetInstance();
309 } 311 }
310 312
311 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() { 313 void ChromeBrowserMainExtraPartsProfiles::PreProfileInit() {
312 EnsureBrowserContextKeyedServiceFactoriesBuilt(); 314 EnsureBrowserContextKeyedServiceFactoriesBuilt();
313 } 315 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698