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

Unified Diff: media/gpu/ipc/service/media_gpu_channel_manager.h

Issue 2864603002: Provide callback to create mojo AndroidOverlays to AVDA. (Closed)
Patch Set: rebased Created 3 years, 7 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
« no previous file with comments | « media/gpu/ipc/service/media_gpu_channel.cc ('k') | media/gpu/ipc/service/media_gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/ipc/service/media_gpu_channel_manager.h
diff --git a/media/gpu/ipc/service/media_gpu_channel_manager.h b/media/gpu/ipc/service/media_gpu_channel_manager.h
index 8cc3f2ff4b7a236ebc298622ec0366ff43898620..48f798b26e2e74919581df77790f3a42296e8b4a 100644
--- a/media/gpu/ipc/service/media_gpu_channel_manager.h
+++ b/media/gpu/ipc/service/media_gpu_channel_manager.h
@@ -15,6 +15,7 @@
#include "base/unguessable_token.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
+#include "media/base/android_overlay_mojo_factory.h"
#include "media/video/video_decode_accelerator.h"
namespace gpu {
@@ -36,6 +37,8 @@ class MediaGpuChannelManager
void RemoveChannel(int32_t client_id);
void DestroyAllChannels();
+ void SetOverlayFactory(AndroidOverlayMojoFactoryCB overlay_factory_cb);
+
// TODO(sandersd): Should we expose the MediaGpuChannel instead?
gpu::GpuChannel* LookupChannel(const base::UnguessableToken& channel_token);
@@ -45,6 +48,7 @@ class MediaGpuChannelManager
media_gpu_channels_;
std::map<base::UnguessableToken, int32_t> token_to_channel_;
std::map<int32_t, base::UnguessableToken> channel_to_token_;
+ AndroidOverlayMojoFactoryCB overlay_factory_cb_;
DISALLOW_COPY_AND_ASSIGN(MediaGpuChannelManager);
};
« no previous file with comments | « media/gpu/ipc/service/media_gpu_channel.cc ('k') | media/gpu/ipc/service/media_gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698