| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ | |
| 6 #define COMPONENTS_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 #include <vector> | |
| 10 | |
| 11 #include "base/macros.h" | |
| 12 #include "components/arc/arc_bridge_service.h" | |
| 13 | |
| 14 namespace arc { | |
| 15 | |
| 16 class FakeArcBridgeService : public ArcBridgeService { | |
| 17 public: | |
| 18 FakeArcBridgeService(); | |
| 19 ~FakeArcBridgeService() override; | |
| 20 | |
| 21 // ArcBridgeService overrides: | |
| 22 void RequestStart() override; | |
| 23 void RequestStop() override; | |
| 24 void OnShutdown() override; | |
| 25 | |
| 26 private: | |
| 27 void SetReady(); | |
| 28 void SetStopped(); | |
| 29 | |
| 30 DISALLOW_COPY_AND_ASSIGN(FakeArcBridgeService); | |
| 31 }; | |
| 32 | |
| 33 } // namespace arc | |
| 34 | |
| 35 #endif // COMPONENTS_ARC_TEST_FAKE_ARC_BRIDGE_SERVICE_H_ | |
| OLD | NEW |