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

Unified Diff: chrome/browser/chromeos/policy/enrollment_handler_chromeos.h

Issue 2329303002: Delete obsolete AllowedDeviceModes enrollment parameter. (Closed)
Patch Set: Created 4 years, 3 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/chromeos/policy/enrollment_handler_chromeos.h
diff --git a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
index e7d225486cd39ab964ea0d51baa7bafd8ff749b5..9bc1c72d03cbe70b18696d8175e5ac0f8cb9f18f 100644
--- a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
+++ b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
@@ -52,16 +52,11 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
public CloudPolicyStore::Observer,
public gaia::GaiaOAuthClient::Delegate {
public:
- typedef DeviceCloudPolicyInitializer::AllowedDeviceModes
- AllowedDeviceModes;
typedef DeviceCloudPolicyInitializer::EnrollmentCallback
EnrollmentCallback;
// |store| and |install_attributes| must remain valid for the life time of the
- // enrollment handler. |allowed_device_modes| determines what device modes
- // are acceptable. If the mode specified by the server is not acceptable,
- // enrollment will fail with an EnrollmentStatus indicating
- // STATUS_REGISTRATION_BAD_MODE.
+ // enrollment handler.
EnrollmentHandlerChromeOS(
DeviceCloudPolicyStoreChromeOS* store,
EnterpriseInstallAttributes* install_attributes,
@@ -73,7 +68,6 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
const std::string& auth_token,
const std::string& client_id,
const std::string& requisition,
- const AllowedDeviceModes& allowed_device_modes,
const EnrollmentCallback& completion_callback);
~EnrollmentHandlerChromeOS() override;
@@ -177,7 +171,6 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
std::string auth_token_;
std::string client_id_;
std::string requisition_;
- AllowedDeviceModes allowed_device_modes_;
EnrollmentCallback completion_callback_;
// The current state key provided by |state_keys_broker_|.

Powered by Google App Engine
This is Rietveld 408576698