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

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

Issue 2765523002: arc: Add explicit error message in case network cannot be setup. (Closed)
Patch Set: sort enums Created 3 years, 9 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 | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/arc/arc_support_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d59ec468961c8e5fd356c513380e9e0f5c9c300e..8a38c01ca6be1597837ae7a97d2a0ade72f898c8 100644
--- a/chrome/browser/chromeos/arc/arc_session_manager.cc
+++ b/chrome/browser/chromeos/arc/arc_session_manager.cc
@@ -295,8 +295,7 @@ void ArcSessionManager::OnProvisioningFinished(ProvisioningResult result) {
error = ArcSupportHost::Error::SERVER_COMMUNICATION_ERROR;
break;
case ProvisioningResult::NO_NETWORK_CONNECTION:
- // TODO(khmel): Use explicit error for M58+ builds.
- error = ArcSupportHost::Error::SIGN_IN_SERVICE_UNAVAILABLE_ERROR;
+ error = ArcSupportHost::Error::NETWORK_UNAVAILABLE_ERROR;
break;
case ProvisioningResult::ARC_DISABLED:
error = ArcSupportHost::Error::ANDROID_MANAGEMENT_REQUIRED_ERROR;
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/chromeos/arc/arc_support_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698