Index: chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc |
diff --git a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc |
index 64fcccfef15b15b9fdc5c11cc46a6af04a6398d3..b5c1dfc1708d03047a4d5ab3e31b31f5c682c038 100644 |
--- a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc |
+++ b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc |
@@ -36,6 +36,7 @@ EnrollmentHandlerChromeOS::EnrollmentHandlerChromeOS( |
const std::string& auth_token, |
const std::string& client_id, |
bool is_auto_enrollment, |
+ const std::string& requisition, |
const AllowedDeviceModes& allowed_device_modes, |
const EnrollmentCallback& completion_callback) |
: store_(store), |
@@ -44,6 +45,7 @@ EnrollmentHandlerChromeOS::EnrollmentHandlerChromeOS( |
auth_token_(auth_token), |
client_id_(client_id), |
is_auto_enrollment_(is_auto_enrollment), |
+ requisition_(requisition), |
allowed_device_modes_(allowed_device_modes), |
completion_callback_(completion_callback), |
device_mode_(DEVICE_MODE_NOT_SET), |
@@ -179,7 +181,8 @@ void EnrollmentHandlerChromeOS::AttemptRegistration() { |
if (store_->is_initialized()) { |
enrollment_step_ = STEP_REGISTRATION; |
client_->Register(em::DeviceRegisterRequest::DEVICE, |
- auth_token_, client_id_, is_auto_enrollment_); |
+ auth_token_, client_id_, is_auto_enrollment_, |
+ requisition_); |
} |
} |