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

Side by Side Diff: chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.h

Issue 188243003: Merge 254685 "Fixed handling of 'oem_device_requisition' VPD value." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1847/src/
Patch Set: Created 6 years, 9 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 | « no previous file | chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H_
7 7
8 #include <bitset> 8 #include <bitset>
9 #include <string> 9 #include <string>
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 scoped_ptr<CloudPolicyClient> CreateClient(); 108 scoped_ptr<CloudPolicyClient> CreateClient();
109 109
110 // Starts policy refreshes if |store_| indicates a managed device and the 110 // Starts policy refreshes if |store_| indicates a managed device and the
111 // necessary dependencies have been provided via Initialize(). 111 // necessary dependencies have been provided via Initialize().
112 void StartIfManaged(); 112 void StartIfManaged();
113 113
114 // Handles completion signaled by |enrollment_handler_|. 114 // Handles completion signaled by |enrollment_handler_|.
115 void EnrollmentCompleted(const EnrollmentCallback& callback, 115 void EnrollmentCompleted(const EnrollmentCallback& callback,
116 EnrollmentStatus status); 116 EnrollmentStatus status);
117 117
118 // Initializes requisition settings at OOBE with values from VPD.
119 void InitalizeRequisition();
120
118 // Points to the same object as the base CloudPolicyManager::store(), but with 121 // Points to the same object as the base CloudPolicyManager::store(), but with
119 // actual device policy specific type. 122 // actual device policy specific type.
120 scoped_ptr<DeviceCloudPolicyStoreChromeOS> device_store_; 123 scoped_ptr<DeviceCloudPolicyStoreChromeOS> device_store_;
121 scoped_refptr<base::SequencedTaskRunner> background_task_runner_; 124 scoped_refptr<base::SequencedTaskRunner> background_task_runner_;
122 EnterpriseInstallAttributes* install_attributes_; 125 EnterpriseInstallAttributes* install_attributes_;
123 126
124 DeviceManagementService* device_management_service_; 127 DeviceManagementService* device_management_service_;
125 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_; 128 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_;
126 129
127 // PrefService instance to read the policy refresh rate from. 130 // PrefService instance to read the policy refresh rate from.
128 PrefService* local_state_; 131 PrefService* local_state_;
129 132
130 // Non-null if there is an enrollment operation pending. 133 // Non-null if there is an enrollment operation pending.
131 scoped_ptr<EnrollmentHandlerChromeOS> enrollment_handler_; 134 scoped_ptr<EnrollmentHandlerChromeOS> enrollment_handler_;
132 135
133 scoped_ptr<chromeos::attestation::AttestationPolicyObserver> 136 scoped_ptr<chromeos::attestation::AttestationPolicyObserver>
134 attestation_policy_observer_; 137 attestation_policy_observer_;
135 138
136 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS); 139 DISALLOW_COPY_AND_ASSIGN(DeviceCloudPolicyManagerChromeOS);
137 }; 140 };
138 141
139 } // namespace policy 142 } // namespace policy
140 143
141 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H _ 144 #endif // CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_MANAGER_CHROMEOS_H _
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/device_cloud_policy_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698