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

Unified Diff: chrome/gpu/chrome_content_gpu_client.h

Issue 2819903004: Migrate GpuChildThread to use ConnectionFilter instead of the ChildThread's InterfaceRegistry to exp (Closed)
Patch Set: . Created 3 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: 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);
};

Powered by Google App Engine
This is Rietveld 408576698