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

Unified Diff: components/arc/arc_session_observer.h

Issue 2720303002: Do nothing on OnSessionStopped if ARC is being restarted. (Closed)
Patch Set: 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: components/arc/arc_session_observer.h
diff --git a/components/arc/arc_session_observer.h b/components/arc/arc_session_observer.h
index 2751e35ec7bc24b3abab4d6f216cffbcef06d7ec..d42ad2937e727c60cb075d7ec3d91bf6fffd0e59 100644
--- a/components/arc/arc_session_observer.h
+++ b/components/arc/arc_session_observer.h
@@ -36,7 +36,8 @@ class ArcSessionObserver {
// Called when ARC instance is stopped. This is called exactly once
// per instance which is Start()ed.
- virtual void OnSessionStopped(StopReason reason) {}
+ // If ARC instance is being restarted, |restarting| is true. Otherwise false.
+ virtual void OnSessionStopped(StopReason reason, bool restarting) {}
};
// Defines "<<" operator for LOGging purpose.

Powered by Google App Engine
This is Rietveld 408576698