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

Unified Diff: content/gpu/gpu_process_control_impl.h

Issue 1837143002: media: Pass MediaPermission to MediaDrmBridge Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More plumbing Created 4 years, 8 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 | « content/gpu/gpu_child_thread.cc ('k') | content/gpu/gpu_process_control_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_process_control_impl.h
diff --git a/content/gpu/gpu_process_control_impl.h b/content/gpu/gpu_process_control_impl.h
index 5e000709f6c7df6cceb44c2612cff31b70873b00..b54eaaa78bcb2e599cbb8adfb5ed1850a5ee8019 100644
--- a/content/gpu/gpu_process_control_impl.h
+++ b/content/gpu/gpu_process_control_impl.h
@@ -8,18 +8,25 @@
#include "base/macros.h"
#include "content/child/process_control_impl.h"
+namespace media {
+class MediaPermission;
+}
+
namespace content {
// Customization of ProcessControlImpl for the GPU process.
class GpuProcessControlImpl : public ProcessControlImpl {
public:
- GpuProcessControlImpl();
+ // |media_permission| is guaranteed to be valid during the lifetime of |this|.
+ explicit GpuProcessControlImpl(media::MediaPermission* media_permission);
~GpuProcessControlImpl() override;
// ProcessControlImpl:
void RegisterApplicationFactories(ApplicationFactoryMap* factories) override;
private:
+ media::MediaPermission* media_permission_;
+
DISALLOW_COPY_AND_ASSIGN(GpuProcessControlImpl);
};
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/gpu/gpu_process_control_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698