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

Unified Diff: components/arc/arc_bridge_bootstrap.cc

Issue 1548833002: arc-bridge: Restart ARC instance on crash (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Addressed more feedback Created 4 years, 11 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 | « no previous file | components/arc/arc_bridge_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_bridge_bootstrap.cc
diff --git a/components/arc/arc_bridge_bootstrap.cc b/components/arc/arc_bridge_bootstrap.cc
index ce1c513c6c981905fa2db55e468a73746c9d461f..204bf7c0780e77a945dc3696a06969fe5350dd9b 100644
--- a/components/arc/arc_bridge_bootstrap.cc
+++ b/components/arc/arc_bridge_bootstrap.cc
@@ -57,6 +57,11 @@ class ArcBridgeBootstrapImpl : public ArcBridgeBootstrap {
// STOPPING
// StopInstance() ->
// STOPPED
+ //
+ // When the instance crashes while it was ready, it will be stopped:
+ // READY -> STOPPING -> STOPPED
+ // and then restarted:
+ // STOPPED -> SOCKET_CREATING -> ... -> READY).
enum class State {
// ARC is not currently running.
STOPPED,
« no previous file with comments | « no previous file | components/arc/arc_bridge_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698