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

Unified Diff: chrome/browser/chromeos/login/enrollment/enrollment_screen.h

Issue 390443006: Support for remote enrollment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/enrollment/enrollment_screen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/enrollment/enrollment_screen.h
diff --git a/chrome/browser/chromeos/login/enrollment/enrollment_screen.h b/chrome/browser/chromeos/login/enrollment/enrollment_screen.h
index 0002d88d161bd205a26bd3f671d4d027467bd6f0..48a7b8d5b3232f34af11f6d46594e8165ce64bb3 100644
--- a/chrome/browser/chromeos/login/enrollment/enrollment_screen.h
+++ b/chrome/browser/chromeos/login/enrollment/enrollment_screen.h
@@ -32,7 +32,8 @@ class EnrollmentScreen
void SetParameters(EnrollmentScreenActor::EnrollmentMode enrollment_mode,
const std::string& management_domain,
- const std::string& enrollment_user);
+ const std::string& enrollment_user,
+ const std::string& auth_token);
// WizardScreen implementation:
virtual void PrepareToShow() OVERRIDE;
@@ -62,6 +63,9 @@ class EnrollmentScreen
// Kicks off the policy infrastructure to register with the service.
void RegisterForDevicePolicy(const std::string& token);
+ // Sends an enrollment access token to a remote device.
+ void SendEnrollmentAuthToken(const std::string& token);
+
// Handles enrollment completion. Logs a UMA sample and requests the actor to
// show the specified enrollment status.
void ReportEnrollmentStatus(policy::EnrollmentStatus status);
@@ -91,7 +95,9 @@ class EnrollmentScreen
EnrollmentScreenActor* actor_;
EnrollmentScreenActor::EnrollmentMode enrollment_mode_;
bool enrollment_failed_once_;
+ bool remora_token_sent_;
std::string user_;
+ std::string auth_token_;
int lockbox_init_duration_;
base::WeakPtrFactory<EnrollmentScreen> weak_ptr_factory_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/enrollment/enrollment_screen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698