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

Unified Diff: content/gpu/gpu_process_control_impl.h

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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..19dc2a20d7298c7112cca3da03057ca11cbf0b7e 100644
--- a/content/gpu/gpu_process_control_impl.h
+++ b/content/gpu/gpu_process_control_impl.h
@@ -6,6 +6,8 @@
#define CONTENT_GPU_GPU_PROCESS_CONTROL_IMPL_H_
#include "base/macros.h"
+#include "base/memory/ref_counted.h"
+#include "base/single_thread_task_runner.h"
xhwang 2016/04/20 21:09:27 This can be forward declared
sandersd (OOO until July 31) 2016/05/03 00:54:36 I have removed these changes from the CL.
#include "content/child/process_control_impl.h"
namespace content {
@@ -13,13 +15,16 @@ namespace content {
// Customization of ProcessControlImpl for the GPU process.
class GpuProcessControlImpl : public ProcessControlImpl {
public:
- GpuProcessControlImpl();
+ GpuProcessControlImpl(
+ scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner);
xhwang 2016/04/20 21:09:27 gpu_main_task_runner just to be more explicit?
~GpuProcessControlImpl() override;
// ProcessControlImpl:
void RegisterApplicationFactories(ApplicationFactoryMap* factories) override;
private:
+ scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner_;
+
DISALLOW_COPY_AND_ASSIGN(GpuProcessControlImpl);
};

Powered by Google App Engine
This is Rietveld 408576698