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

Side by Side Diff: chrome/browser/policy/profile_policy_connector.cc

Issue 101163003: Move ConfigurationPolicyProvider to components/policy/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename target Created 7 years 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/policy/profile_policy_connector.h" 5 #include "chrome/browser/policy/profile_policy_connector.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/policy/browser_policy_connector.h" 12 #include "chrome/browser/policy/browser_policy_connector.h"
13 #include "chrome/browser/policy/cloud/cloud_policy_manager.h" 13 #include "chrome/browser/policy/cloud/cloud_policy_manager.h"
14 #include "chrome/browser/policy/configuration_policy_provider.h"
15 #include "chrome/browser/policy/forwarding_policy_provider.h" 14 #include "chrome/browser/policy/forwarding_policy_provider.h"
16 #include "chrome/browser/policy/policy_service_impl.h" 15 #include "chrome/browser/policy/policy_service_impl.h"
17 #include "chrome/browser/policy/policy_transformations.h" 16 #include "chrome/browser/policy/policy_transformations.h"
17 #include "components/policy/core/common/configuration_policy_provider.h"
18 18
19 #if defined(OS_CHROMEOS) 19 #if defined(OS_CHROMEOS)
20 #include "chrome/browser/chromeos/login/user.h" 20 #include "chrome/browser/chromeos/login/user.h"
21 #include "chrome/browser/chromeos/login/user_manager.h" 21 #include "chrome/browser/chromeos/login/user_manager.h"
22 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h" 22 #include "chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h"
23 #include "chrome/browser/chromeos/policy/device_local_account_policy_provider.h" 23 #include "chrome/browser/chromeos/policy/device_local_account_policy_provider.h"
24 #include "chrome/browser/chromeos/policy/login_profile_policy_provider.h" 24 #include "chrome/browser/chromeos/policy/login_profile_policy_provider.h"
25 #endif 25 #endif
26 26
27 namespace policy { 27 namespace policy {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 connector->GetDeviceLocalAccountPolicyService(); 126 connector->GetDeviceLocalAccountPolicyService();
127 if (!device_local_account_policy_service) 127 if (!device_local_account_policy_service)
128 return; 128 return;
129 special_user_policy_provider_.reset(new DeviceLocalAccountPolicyProvider( 129 special_user_policy_provider_.reset(new DeviceLocalAccountPolicyProvider(
130 username, device_local_account_policy_service)); 130 username, device_local_account_policy_service));
131 special_user_policy_provider_->Init(schema_registry); 131 special_user_policy_provider_->Init(schema_registry);
132 } 132 }
133 #endif 133 #endif
134 134
135 } // namespace policy 135 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_service_impl_unittest.cc ('k') | chrome/browser/prefs/chrome_pref_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698