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

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

Issue 742513006: Add ManagementMode enum and GetManagementMode(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing POLICY_EXPORT Created 6 years, 1 month 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 8b761f43f65d0309f4b9fedbc1aacab3e2d5c1d6..026f544cba5826ab1de13f30e7ac2e0bf97f0a7d 100644
--- a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
+++ b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
@@ -16,6 +16,7 @@
#include "chrome/browser/chromeos/policy/device_cloud_policy_validator.h"
#include "chrome/browser/chromeos/policy/enterprise_install_attributes.h"
#include "components/policy/core/common/cloud/cloud_policy_client.h"
+#include "components/policy/core/common/cloud/cloud_policy_constants.h"
#include "components/policy/core/common/cloud/cloud_policy_store.h"
#include "google_apis/gaia/gaia_oauth_client.h"
#include "policy/proto/device_management_backend.pb.h"
@@ -71,7 +72,7 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
bool is_auto_enrollment,
const std::string& requisition,
const AllowedDeviceModes& allowed_device_modes,
- enterprise_management::PolicyData::ManagementMode management_mode,
+ ManagementMode management_mode,
const EnrollmentCallback& completion_callback);
virtual ~EnrollmentHandlerChromeOS();
@@ -170,7 +171,7 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
std::string current_state_key_;
std::string refresh_token_;
AllowedDeviceModes allowed_device_modes_;
- enterprise_management::PolicyData::ManagementMode management_mode_;
+ ManagementMode management_mode_;
EnrollmentCallback completion_callback_;
// The device mode as received in the registration request.

Powered by Google App Engine
This is Rietveld 408576698