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

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

Issue 8741014: Added auto-enrollment request support to the device_management_backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 9 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 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 ff4f3ff2ddfa20bc5fd46a861c4c7dc2485627b1..284888205a16e137dfb4ba155b9242dd33adf647 100644
--- a/chrome/browser/policy/device_management_backend_impl.h
+++ b/chrome/browser/policy/device_management_backend_impl.h
@@ -40,6 +40,7 @@ class DeviceManagementBackendImpl : public DeviceManagementBackend {
// String constants for the device and app type we report to the server.
static const char kValueAppType[];
static const char kValueDeviceType[];
+ static const char kValueRequestAutoEnrollment[];
static const char kValueRequestPolicy[];
static const char kValueRequestRegister[];
static const char kValueRequestUnregister[];
@@ -76,6 +77,10 @@ class DeviceManagementBackendImpl : public DeviceManagementBackend {
CloudPolicyDataStore::UserAffiliation affiliation,
const em::DevicePolicyRequest& request,
DevicePolicyResponseDelegate* response_delegate) OVERRIDE;
+ virtual void ProcessAutoEnrollmentRequest(
+ const std::string& device_id,
+ const em::DeviceAutoEnrollmentRequest& request,
+ DeviceAutoEnrollmentResponseDelegate* delegate) OVERRIDE;
// Converts a user affiliation to the appropriate query parameter value.
static const char* UserAffiliationToString(
« no previous file with comments | « chrome/browser/policy/device_management_backend.h ('k') | chrome/browser/policy/device_management_backend_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698