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

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

Issue 2078263002: Example Bluetooth ARC++ test changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@arc_tests
Patch Set: Created 4 years, 6 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_service.h
diff --git a/components/arc/test/fake_arc_bridge_service.h b/components/arc/test/fake_arc_bridge_service.h
index f66b872db70f611ad78e816541a89d23193f7ae6..e1c1b12dee82e456524b7ac2f75389d439249307 100644
--- a/components/arc/test/fake_arc_bridge_service.h
+++ b/components/arc/test/fake_arc_bridge_service.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "components/arc/arc_bridge_service.h"
+#include "components/arc/test/fake_bluetooth_instance.h"
namespace arc {
@@ -22,6 +23,8 @@ class FakeArcBridgeService : public ArcBridgeService {
void SetDetectedAvailability(bool availability) override;
void HandleStartup() override;
void Shutdown() override;
+ mojom::BluetoothInstance* bluetooth_instance() override;
+ int32_t bluetooth_version() const override;
void SetReady();
@@ -29,7 +32,12 @@ class FakeArcBridgeService : public ArcBridgeService {
bool HasObserver(const Observer* observer);
+ void set_bluetooth_version(int32_t version) { bluetooth_version_ = version; }
+
private:
+ std::unique_ptr<FakeBluetoothInstance> bluetooth_instance_;
+ int32_t bluetooth_version_;
+
DISALLOW_COPY_AND_ASSIGN(FakeArcBridgeService);
};
« no previous file with comments | « components/arc/bluetooth/arc_bluetooth_bridge_unittest.cc ('k') | components/arc/test/fake_arc_bridge_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698