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

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

Issue 2230533002: Delete dead consumer enrollment code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 a21d93bba0562714fad6f20e9832d29149b1af9b..3a39f9f6d92e75dda8217dd94639a4b306a94bed 100644
--- a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
+++ b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
@@ -26,10 +26,6 @@ namespace base {
class SequencedTaskRunner;
}
-namespace chromeos {
-class OwnerSettingsServiceChromeOS;
-}
-
namespace policy {
class DeviceCloudPolicyStoreChromeOS;
@@ -60,12 +56,10 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
// are acceptable. If the mode specified by the server is not acceptable,
// enrollment will fail with an EnrollmentStatus indicating
// STATUS_REGISTRATION_BAD_MODE.
- // |management_mode| should be either ENTERPRISE_MANAGED or CONSUMER_MANAGED.
EnrollmentHandlerChromeOS(
DeviceCloudPolicyStoreChromeOS* store,
EnterpriseInstallAttributes* install_attributes,
ServerBackedStateKeysBroker* state_keys_broker,
- chromeos::OwnerSettingsServiceChromeOS* owner_settings_service,
std::unique_ptr<CloudPolicyClient> client,
scoped_refptr<base::SequencedTaskRunner> background_task_runner,
const EnrollmentConfig& enrollment_config,
@@ -73,7 +67,6 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
const std::string& client_id,
const std::string& requisition,
const AllowedDeviceModes& allowed_device_modes,
- ManagementMode management_mode,
const EnrollmentCallback& completion_callback);
~EnrollmentHandlerChromeOS() override;
@@ -160,7 +153,6 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
DeviceCloudPolicyStoreChromeOS* store_;
EnterpriseInstallAttributes* install_attributes_;
ServerBackedStateKeysBroker* state_keys_broker_;
- chromeos::OwnerSettingsServiceChromeOS* owner_settings_service_;
std::unique_ptr<CloudPolicyClient> client_;
scoped_refptr<base::SequencedTaskRunner> background_task_runner_;
std::unique_ptr<gaia::GaiaOAuthClient> gaia_oauth_client_;
@@ -170,7 +162,6 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
std::string client_id_;
std::string requisition_;
AllowedDeviceModes allowed_device_modes_;
- ManagementMode management_mode_;
EnrollmentCallback completion_callback_;
// The current state key provided by |state_keys_broker_|.

Powered by Google App Engine
This is Rietveld 408576698