Index: content/gpu/gpu_service_factory.h |
diff --git a/content/gpu/gpu_service_factory.h b/content/gpu/gpu_service_factory.h |
index 5d5d797fc1a083ac0a8111f3b44a2817195ae4f2..b28282ced39b8811e545569b5a2534f6a4fa9185 100644 |
--- a/content/gpu/gpu_service_factory.h |
+++ b/content/gpu/gpu_service_factory.h |
@@ -6,20 +6,31 @@ |
#define CONTENT_GPU_GPU_SERVICE_FACTORY_H_ |
#include "base/macros.h" |
+#include "base/memory/ref_counted.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "content/child/service_factory.h" |
+namespace media { |
+class MediaService; |
+} // namespace media |
+ |
namespace content { |
// Customization of ServiceFactory for the GPU process. |
class GpuServiceFactory : public ServiceFactory { |
public: |
- GpuServiceFactory(); |
+ GpuServiceFactory( |
+ scoped_refptr<base::SingleThreadTaskRunner> media_service_task_runner, |
+ media::MediaService* media_service); |
~GpuServiceFactory() override; |
// ServiceFactory overrides: |
void RegisterServices(ServiceMap* services) override; |
private: |
+ scoped_refptr<base::SingleThreadTaskRunner> media_service_task_runner_; |
+ media::MediaService* media_service_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GpuServiceFactory); |
}; |