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

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

Issue 2977033002: Mixed Licenses Enrollment (Closed)
Patch Set: Created 3 years, 5 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 82524049ed4462fa0a2806d83edd18fb94afbf0c..672940c0842834435c5c4469901c70c6a2758643 100644
--- a/chrome/browser/chromeos/login/screens/host_pairing_screen.cc
+++ b/chrome/browser/chromeos/login/screens/host_pairing_screen.cc
@@ -187,6 +187,18 @@ void HostPairingScreen::OnAuthError(const GoogleServiceAuthError& error) {
OnAnyEnrollmentError();
}
+void HostPairingScreen::OnMultipleLicensesAvailable(
+ const EnrollmentLicenseMap& licenses) {
+ LOG(ERROR) << "Host-paired enrollment is not yet compatible "
emaxx 2017/07/21 12:57:29 nit: #include "base/logging.h"
emaxx 2017/07/21 12:57:29 nit: Is this a TODO, or should a separate bug be f
Denis Kuznetsov (DE-MUC) 2017/07/25 21:51:05 This is an outdated branch. It was a plan that use
+ << "with Mixed Licenses Enrollment Flow";
+ enrollment_error_string_ = view_->GetErrorStringFromOtherError(
+ EnterpriseEnrollmentHelper::OTHER_ERROR_FATAL);
+ enrollment_error_code_ = GetEnrollmentErrorCode(
+ HostPairingController::ErrorCode::OTHER_ERROR,
+ static_cast<int>(EnterpriseEnrollmentHelper::OTHER_ERROR_FATAL));
+ OnAnyEnrollmentError();
+}
+
void HostPairingScreen::OnEnrollmentError(policy::EnrollmentStatus status) {
enrollment_error_string_ = view_->GetErrorStringFromEnrollmentError(status);
enrollment_error_code_ =

Powered by Google App Engine
This is Rietveld 408576698