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

Unified Diff: chrome/browser/policy/device_management_backend_impl.h

Issue 6537020: Update policy backend and testserver for the newest policy protocol (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 5 Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/device_management_backend_impl.h
diff --git a/chrome/browser/policy/device_management_backend_impl.h b/chrome/browser/policy/device_management_backend_impl.h
index 40c7e11d4ff8c69ae9a754a5593de19a048c358a..8fd19d4d07c9d5c2f565110bdf4e6b192a356215 100644
--- a/chrome/browser/policy/device_management_backend_impl.h
+++ b/chrome/browser/policy/device_management_backend_impl.h
@@ -36,12 +36,10 @@ class DeviceManagementBackendImpl : public DeviceManagementBackend {
// String constants for the device and app type we report to the server.
static const char kValueRequestRegister[];
static const char kValueRequestUnregister[];
- // Deprecated in favor of kValueRequestCloudPolicy.
- // See DevicePolicyResponseDelegate::HandlePolicyResponse.
static const char kValueRequestPolicy[];
- static const char kValueRequestCloudPolicy[];
- static const char kValueDeviceType[];
+ static const char kValueDeviceType[];
static const char kValueAppType[];
+ static const char kValueMachineModel[];
private:
friend class DeviceManagementJobBase;
@@ -66,18 +64,11 @@ class DeviceManagementBackendImpl : public DeviceManagementBackend {
const std::string& device_id,
const em::DeviceUnregisterRequest& request,
DeviceUnregisterResponseDelegate* response_delegate);
- // Deprecated in favor of ProcessCloudPolicyRequest.
- // See DevicePolicyResponseDelegate::HandlePolicyResponse.
virtual void ProcessPolicyRequest(
const std::string& device_management_token,
const std::string& device_id,
const em::DevicePolicyRequest& request,
DevicePolicyResponseDelegate* response_delegate);
- virtual void ProcessCloudPolicyRequest(
- const std::string& device_management_token,
- const std::string& device_id,
- const em::CloudPolicyRequest& request,
- DevicePolicyResponseDelegate* delegate);
// Keeps track of the jobs currently in flight.
JobSet pending_jobs_;

Powered by Google App Engine
This is Rietveld 408576698