Chromium Code Reviews| Index: components/arc/arc_bridge_service_impl.cc |
| diff --git a/components/arc/arc_bridge_service_impl.cc b/components/arc/arc_bridge_service_impl.cc |
| index 1ca85afc2eb8a14e1dd676a7013619d8e0f2222e..b6bd3a3b9d05614f1f321aa40bcb2101190ff6de 100644 |
| --- a/components/arc/arc_bridge_service_impl.cc |
| +++ b/components/arc/arc_bridge_service_impl.cc |
| @@ -19,6 +19,7 @@ |
| #include "chromeos/dbus/dbus_method_call_status.h" |
| #include "chromeos/dbus/dbus_thread_manager.h" |
| #include "chromeos/dbus/session_manager_client.h" |
| +#include "ipc/ipc_channel_handle.h" |
| #include "mojo/public/cpp/bindings/array.h" |
| #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" |
| @@ -202,6 +203,14 @@ bool ArcBridgeServiceImpl::RequestProcessList() { |
| return true; |
| } |
| +// TODO(kcwu) move this to ArcBridgeService after rebased arc_bridge |
| +// refactoring. |
|
Luis Héctor Chávez
2015/12/23 00:02:53
This is done.
kcwu
2015/12/23 01:05:23
Done.
|
| +void ArcBridgeServiceImpl::OnVideoInstanceReady(VideoInstancePtr video_ptr) { |
| + DCHECK(CalledOnValidThread()); |
| + video_ptr_ = std::move(video_ptr); |
| + FOR_EACH_OBSERVER(Observer, observer_list(), OnVideoInstanceReady()); |
| +} |
| + |
| void ArcBridgeServiceImpl::OnInstanceBootPhase(InstanceBootPhase phase) { |
| DCHECK(CalledOnValidThread()); |
| // The state can be CONNECTED the first time this is called, and will then |