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

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

Issue 1534423002: Revert of arc-bridge: Move most methods to Mojo interfaces (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « components/arc/test/fake_arc_bridge_instance.h ('k') | components/arc/test/fake_arc_bridge_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4ee47cfdeb08a54def2d538caeed0c326c0c8139..e0c181363bcb0c521541db560c0befab2dda415a 100644
--- a/components/arc/test/fake_arc_bridge_instance.cc
+++ b/components/arc/test/fake_arc_bridge_instance.cc
@@ -13,7 +13,32 @@
void FakeArcBridgeInstance::Init(ArcBridgeHostPtr host) {
host_ptr_ = std::move(host);
+ host_ptr_->OnInstanceBootPhase(INSTANCE_BOOT_PHASE_BRIDGE_READY);
+ host_ptr_->OnInstanceBootPhase(INSTANCE_BOOT_PHASE_BOOT_COMPLETED);
}
+
+void FakeArcBridgeInstance::RegisterInputDevice(const mojo::String& name,
+ const mojo::String& device_type,
+ mojo::ScopedHandle fd) {}
+
+void FakeArcBridgeInstance::SendNotificationEventToAndroid(
+ const mojo::String& key,
+ ArcNotificationEvent event) {}
+
+void FakeArcBridgeInstance::RefreshAppList() {}
+
+void FakeArcBridgeInstance::LaunchApp(const mojo::String& package,
+ const mojo::String& activity) {}
+
+void FakeArcBridgeInstance::RequestAppIcon(const mojo::String& package,
+ const mojo::String& activity,
+ ScaleFactor scale_factor) {}
+void FakeArcBridgeInstance::SendBroadcast(const mojo::String& action,
+ const mojo::String& package,
+ const mojo::String& clazz,
+ const mojo::String& extras) {}
+
+void FakeArcBridgeInstance::RequestProcessList() {}
void FakeArcBridgeInstance::Bind(
mojo::InterfaceRequest<ArcBridgeInstance> interface_request) {
« no previous file with comments | « components/arc/test/fake_arc_bridge_instance.h ('k') | components/arc/test/fake_arc_bridge_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698