summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/device_management_backend_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/policy/device_management_backend_impl.h')
-rw-r--r--chrome/browser/policy/device_management_backend_impl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/policy/device_management_backend_impl.h b/chrome/browser/policy/device_management_backend_impl.h
index d818b4d..40c7e11 100644
--- a/chrome/browser/policy/device_management_backend_impl.h
+++ b/chrome/browser/policy/device_management_backend_impl.h
@@ -36,7 +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 kValueAppType[];
@@ -63,11 +66,18 @@ 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_;