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

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

Issue 2133653002: arc: Notify ARC instance failures via callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address hidehiko's comments. 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: components/arc/test/fake_arc_bridge_instance.cc
diff --git a/components/arc/test/fake_arc_bridge_instance.cc b/components/arc/test/fake_arc_bridge_instance.cc
index e51e54a2210dafbe991e261303421f651dfea97b..d65734493ff361ada021987549e1bf148ccfb2de 100644
--- a/components/arc/test/fake_arc_bridge_instance.cc
+++ b/components/arc/test/fake_arc_bridge_instance.cc
@@ -31,10 +31,10 @@ void FakeArcBridgeInstance::WaitForInitCall() {
binding_.WaitForIncomingMethodCall();
}
-void FakeArcBridgeInstance::SimulateCrash() {
+void FakeArcBridgeInstance::Stop(ArcBridgeService::StopReason reason) {
if (!delegate_)
return;
- delegate_->OnCrashed();
+ delegate_->OnStopped(reason);
}
} // namespace arc

Powered by Google App Engine
This is Rietveld 408576698