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

Unified Diff: components/arc/arc_bridge_service_impl.cc

Issue 1451353002: Implement GpuArcVideoService for arc video accelerator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Luis's comments 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
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

Powered by Google App Engine
This is Rietveld 408576698