Chromium Code Reviews| Index: components/arc/test/fake_arc_bridge_instance.h |
| diff --git a/components/arc/test/fake_arc_bridge_instance.h b/components/arc/test/fake_arc_bridge_instance.h |
| index 5a3aa47657a6e96cc610be342e7e2cb192dc51cb..ac3fd97aadb0eb074e4ab7121bd710cc0b484e2e 100644 |
| --- a/components/arc/test/fake_arc_bridge_instance.h |
| +++ b/components/arc/test/fake_arc_bridge_instance.h |
| @@ -16,8 +16,9 @@ class FakeArcBridgeInstance : public mojom::ArcBridgeInstance { |
| public: |
| class Delegate { |
| public: |
| + using StopReason = ArcBridgeService::StopReason; |
| virtual ~Delegate() = default; |
| - virtual void OnCrashed() = 0; |
| + virtual void OnStopped(StopReason reason) = 0; |
|
hidehiko
2016/07/13 04:55:20
Optional: to standardize other code in this CL,
Ar
Shuhei Takahashi
2016/07/13 05:01:26
Oops, you're right. Thanks for catching.
|
| }; |
| FakeArcBridgeInstance(); |
| @@ -41,8 +42,8 @@ class FakeArcBridgeInstance : public mojom::ArcBridgeInstance { |
| // The number of times Init() has been called. |
| int init_calls() const { return init_calls_; } |
| - // Simulates a crash by calling Stop() on the ArcBridgeBoostrap. |
| - void SimulateCrash(); |
| + // Stops the instance. |
| + void Stop(ArcBridgeService::StopReason reason); |
| private: |
| Delegate* delegate_ = nullptr; |