| Index: chrome/gpu/chrome_content_gpu_client.h
|
| diff --git a/chrome/gpu/chrome_content_gpu_client.h b/chrome/gpu/chrome_content_gpu_client.h
|
| index b08f398c7a855417103570b2317374c6eced4748..51d46750e8f67de635af2e5aa3b1d8b944c8a9f5 100644
|
| --- a/chrome/gpu/chrome_content_gpu_client.h
|
| +++ b/chrome/gpu/chrome_content_gpu_client.h
|
| @@ -12,24 +12,35 @@
|
| #include "components/variations/child_process_field_trial_syncer.h"
|
| #include "content/public/gpu/content_gpu_client.h"
|
|
|
| +#if defined(OS_CHROMEOS)
|
| +#include "chrome/gpu/gpu_arc_video_service.h"
|
| +#endif
|
| +
|
| class ChromeContentGpuClient : public content::ContentGpuClient {
|
| public:
|
| ChromeContentGpuClient();
|
| ~ChromeContentGpuClient() override;
|
|
|
| // content::ContentGpuClient:
|
| - void Initialize(base::FieldTrialList::Observer* observer) override;
|
| - void ExposeInterfacesToBrowser(
|
| - service_manager::InterfaceRegistry* registry,
|
| + void Initialize(base::FieldTrialList::Observer* observer,
|
| + service_manager::BinderRegistry* registry) override;
|
| + void GpuServiceInitialized(
|
| const gpu::GpuPreferences& gpu_preferences) override;
|
| - void ConsumeInterfacesFromBrowser(
|
| - service_manager::Connector* connector) override;
|
|
|
| private:
|
| +#if defined(OS_CHROMEOS)
|
| + void CreateArcVideoAcceleratorService(
|
| + ::arc::mojom::VideoAcceleratorServiceRequest request);
|
| +#endif
|
| +
|
| std::unique_ptr<variations::ChildProcessFieldTrialSyncer> field_trial_syncer_;
|
| // Used to profile process startup.
|
| base::StackSamplingProfiler stack_sampling_profiler_;
|
|
|
| +#if defined(OS_CHROMEOS)
|
| + gpu::GpuPreferences gpu_preferences_;
|
| +#endif
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ChromeContentGpuClient);
|
| };
|
|
|
|
|