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

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

Issue 2544773002: Fetch policy from Active Directory at the end of enrollment (Closed)
Patch Set: Convert CHECK_EQ(true, ...) to CHECK(...) Created 4 years 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 7d61578c487d296882b0a4a2c1cd5cfa692dbc17..7d63d228b7e40f999a9f8e4efc69a2fa2b5c23ae 100644
--- a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
+++ b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.h
@@ -113,7 +113,8 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
STEP_LOCK_DEVICE = 8, // Writing installation-time attributes.
STEP_STORE_TOKEN_AND_ID = 9, // Storing DM token and virtual device ID.
STEP_STORE_ROBOT_AUTH = 10, // Encrypting & writing robot refresh token.
- STEP_STORE_POLICY = 11, // Storing policy and API refresh token.
+ STEP_STORE_POLICY = 11, // Storing policy and API refresh token. For
+ // AD, includes policy fetch via authpolicyd.
STEP_FINISHED = 12, // Enrollment process done, no further action.
};
@@ -154,6 +155,9 @@ class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
// Handles completion of the robot token store operation.
void HandleStoreRobotAuthTokenResult(bool result);
+ // Handles result from device policy refresh via authpolicyd.
+ void HandleActiveDirectoryPolicyRefreshed(bool success);
+
// Drops any ongoing actions.
void Stop();

Powered by Google App Engine
This is Rietveld 408576698