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

Unified Diff: chrome/browser/chromeos/arc/arc_session_manager.cc

Issue 2705213002: Show different error message if ARC is disabled. (Closed)
Patch Set: Fix browsertests and add a new test for 904 Arc Disabled 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/arc/arc_session_manager.cc
diff --git a/chrome/browser/chromeos/arc/arc_session_manager.cc b/chrome/browser/chromeos/arc/arc_session_manager.cc
index 7eab36a63c72b086c0c29b6e9e06b531d7179912..ce66fa84ddf552e0af4fef866d2b9bc1ed5f595b 100644
--- a/chrome/browser/chromeos/arc/arc_session_manager.cc
+++ b/chrome/browser/chromeos/arc/arc_session_manager.cc
@@ -349,6 +349,9 @@ void ArcSessionManager::OnProvisioningFinished(ProvisioningResult result) {
case ProvisioningResult::CHROME_SERVER_COMMUNICATION_ERROR:
error = ArcSupportHost::Error::SERVER_COMMUNICATION_ERROR;
break;
+ case ProvisioningResult::ARC_DISABLED:
+ error = ArcSupportHost::Error::ANDROID_MANAGEMENT_REQUIRED_ERROR;
+ break;
default:
error = ArcSupportHost::Error::SIGN_IN_UNKNOWN_ERROR;
break;

Powered by Google App Engine
This is Rietveld 408576698