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

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

Issue 2329303002: Delete obsolete AllowedDeviceModes enrollment parameter. (Closed)
Patch Set: Fix tests. 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/device_cloud_policy_initializer.h
diff --git a/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h b/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h
index ff6725c11ad66bd2b19d044f89695cf7aa87fe5a..5859066f61b1ba1b6316acde5c19578d3b697008 100644
--- a/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h
+++ b/chrome/browser/chromeos/policy/device_cloud_policy_initializer.h
@@ -5,7 +5,6 @@
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INITIALIZER_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_DEVICE_CLOUD_POLICY_INITIALIZER_H_
-#include <bitset>
#include <memory>
#include <string>
@@ -50,7 +49,6 @@ class EnterpriseInstallAttributes;
// handles the enrollment process.
class DeviceCloudPolicyInitializer : public CloudPolicyStore::Observer {
public:
- typedef std::bitset<32> AllowedDeviceModes;
typedef base::Callback<void(EnrollmentStatus)> EnrollmentCallback;
// |background_task_runner| is used to execute long-running background tasks
@@ -74,13 +72,10 @@ class DeviceCloudPolicyInitializer : public CloudPolicyStore::Observer {
// Starts enrollment or re-enrollment. Once the enrollment process completes,
// |enrollment_callback| is invoked and gets passed the status of the
// operation.
- // |allowed_modes| specifies acceptable DEVICE_MODE_* constants for
- // enrollment.
virtual void StartEnrollment(
DeviceManagementService* device_management_service,
const EnrollmentConfig& enrollment_config,
const std::string& auth_token,
- const AllowedDeviceModes& allowed_modes,
const EnrollmentCallback& enrollment_callback);
// Get the enrollment configuration that has been set up via signals such as

Powered by Google App Engine
This is Rietveld 408576698