Index: components/arc/arc_bridge_service_impl.h |
diff --git a/components/arc/arc_bridge_service_impl.h b/components/arc/arc_bridge_service_impl.h |
index 8c744e179d90b2ab7f043af7e4591cbb8d8cc35f..9810b24b1b0f0ea57318f60b66f9811c31b79582 100644 |
--- a/components/arc/arc_bridge_service_impl.h |
+++ b/components/arc/arc_bridge_service_impl.h |
@@ -36,28 +36,6 @@ class ArcBridgeServiceImpl : public ArcBridgeService, |
void Shutdown() override; |
- bool RegisterInputDevice(const std::string& name, |
- const std::string& device_type, |
- base::ScopedFD fd) override; |
- |
- bool SendNotificationEventToAndroid(const std::string& key, |
- ArcNotificationEvent event) override; |
- |
- // Requests to refresh an app list. |
- bool RefreshAppList() override; |
- |
- // Requests to launch an app. |
- bool LaunchApp(const std::string& package, |
- const std::string& activity) override; |
- |
- // Requests to load an icon of specific scale_factor. |
- bool RequestAppIcon(const std::string& package, |
- const std::string& activity, |
- ScaleFactor scale_factor) override; |
- |
- // Requests ARC process list. |
- bool RequestProcessList() override; |
- |
private: |
friend class ArcBridgeTest; |
FRIEND_TEST_ALL_PREFIXES(ArcBridgeTest, Basic); |
@@ -72,29 +50,14 @@ class ArcBridgeServiceImpl : public ArcBridgeService, |
// Stops the running instance. |
void StopInstance(); |
- // Called when the instance has reached a boot phase |
- void OnInstanceBootPhase(InstanceBootPhase phase) override; |
- // Handler for ArcInstanceHostMsg_NotificationPosted message. |
- void OnNotificationPosted(ArcNotificationDataPtr data) override; |
- // Handler for ArcInstanceHostMsg_NotificationRemoved message. |
- void OnNotificationRemoved(const mojo::String& key) override; |
- |
- // Called whenever ARC sends information about available apps. |
- void OnAppListRefreshed(mojo::Array<arc::AppInfoPtr> apps) override; |
- |
- // Called whenever ARC sends app icon data for specific scale factor. |
- void OnAppIcon(const mojo::String& package, |
- const mojo::String& activity, |
- ScaleFactor scale_factor, |
- mojo::Array<uint8_t> icon_png_data) override; |
- |
- // Called when the latest process list is reported from ARC. |
- void OnUpdateProcessList( |
- mojo::Array<RunningAppProcessInfoPtr> processes_ptr) override; |
- |
- // Called when the instance requests wake lock services |
- void OnAcquireDisplayWakeLock(DisplayWakeLockType type) override; |
- void OnReleaseDisplayWakeLock(DisplayWakeLockType type) override; |
+ // ArcBridgeHost: |
+ void OnAppInstanceReady(AppInstancePtr app_ptr) override; |
+ void OnInputInstanceReady(InputInstancePtr input_ptr) override; |
+ void OnNotificationsInstanceReady( |
+ NotificationsInstancePtr notifications_ptr) override; |
+ void OnPowerInstanceReady(PowerInstancePtr power_ptr) override; |
+ void OnProcessListInstanceReady( |
+ ProcessListInstancePtr process_list_ptr) override; |
// ArcBridgeBootstrap::Delegate: |
void OnConnectionEstablished(ArcBridgeInstancePtr instance) override; |