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

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: . 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..9614069daf9e5cde19fc33db1dc4cb9d75c79420 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::SimulateCrash(ArcBridgeService::StopReason reason) {
if (!delegate_)
return;
- delegate_->OnCrashed();
+ delegate_->OnCrashed(reason);
}
} // namespace arc

Powered by Google App Engine
This is Rietveld 408576698