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

Unified Diff: chrome/browser/chromeos/login/screens/host_pairing_screen.cc

Issue 2677563005: Chromad: Use DM server reply to determine enrollment type (Closed)
Patch Set: comments+create ActiveDirectoryJoinDelegate Created 3 years, 10 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/login/screens/host_pairing_screen.cc
diff --git a/chrome/browser/chromeos/login/screens/host_pairing_screen.cc b/chrome/browser/chromeos/login/screens/host_pairing_screen.cc
index 402cabbf36392fe4b95a34aa2703eea07219f510..436203e6b207dcd56cbb252886a20187e235ec06 100644
--- a/chrome/browser/chromeos/login/screens/host_pairing_screen.cc
+++ b/chrome/browser/chromeos/login/screens/host_pairing_screen.cc
@@ -146,7 +146,7 @@ void HostPairingScreen::EnrollHostRequested(const std::string& auth_token) {
->browser_policy_connector_chromeos()
->GetPrescribedEnrollmentConfig();
enrollment_helper_ = EnterpriseEnrollmentHelper::Create(
- this, enrollment_config, std::string());
+ this, this, enrollment_config, std::string());
enrollment_helper_->EnrollUsingToken(auth_token);
remora_controller_->OnEnrollmentStatusChanged(
HostPairingController::ENROLLMENT_STATUS_ENROLLING);
@@ -200,4 +200,8 @@ void HostPairingScreen::OnAnyEnrollmentError() {
HostPairingController::ENROLLMENT_STATUS_FAILURE);
}
+void HostPairingScreen::JoinDomain(OnDomainJoinedCallback on_joined_callback) {
+ NOTREACHED();
+}
+
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698