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

Unified Diff: components/arc/test/fake_arc_bridge_service.cc

Issue 2436763004: More graceful shutdown for ArcSession. (Closed)
Patch Set: Add StopArcInstance Created 4 years, 2 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 | « components/arc/test/fake_arc_bridge_service.h ('k') | components/arc/test/fake_arc_session.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/test/fake_arc_bridge_service.cc
diff --git a/components/arc/test/fake_arc_bridge_service.cc b/components/arc/test/fake_arc_bridge_service.cc
index 00ec0c4b78adaf7cd138a66679bf1ec94f64ed28..c6a8524cd23c4b4b01334df29c8568edab886a3c 100644
--- a/components/arc/test/fake_arc_bridge_service.cc
+++ b/components/arc/test/fake_arc_bridge_service.cc
@@ -19,11 +19,15 @@ FakeArcBridgeService::~FakeArcBridgeService() {
SetStopped();
}
-void FakeArcBridgeService::HandleStartup() {
+void FakeArcBridgeService::RequestStart() {
SetReady();
}
-void FakeArcBridgeService::Shutdown() {
+void FakeArcBridgeService::RequestStop() {
+ SetStopped();
+}
+
+void FakeArcBridgeService::OnShutdown() {
SetStopped();
}
« no previous file with comments | « components/arc/test/fake_arc_bridge_service.h ('k') | components/arc/test/fake_arc_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698