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

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

Issue 2133653002: arc: Notify ARC instance failures via callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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/arc/arc_auth_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
index 6ac8869e8447b5acb705e45fd1aa9b919e218f44..f53a804ffd31e2c3d9bd7e001ee747a238d34344 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -195,7 +195,8 @@ void ArcAuthService::OnAuthInstanceReady() {
binding_.CreateInterfacePtrAndBind());
}
-void ArcAuthService::OnBridgeStopped() {
+void ArcAuthService::OnBridgeStopped(ArcBridgeService::StopReason reason) {
+ // TODO(crbug.com/625923): Use |reason| to report more detailed errors.
if (waiting_for_reply_) {
// Using SERVICE_UNAVAILABLE instead of UNKNOWN_ERROR, since the latter
// causes this code to not try to stop ARC, so it would retry without the

Powered by Google App Engine
This is Rietveld 408576698