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

Unified Diff: content/public/gpu/content_gpu_client.h

Issue 1808743002: Provide GpuPreferences to content gpu client hook (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/gpu/content_gpu_client.h
diff --git a/content/public/gpu/content_gpu_client.h b/content/public/gpu/content_gpu_client.h
index 3b0095b1f941bafa60f0c9bc41e0cc2082a4408e..d40c8e05e4e6eab2590b88e1825aa9f007149308 100644
--- a/content/public/gpu/content_gpu_client.h
+++ b/content/public/gpu/content_gpu_client.h
@@ -7,6 +7,10 @@
#include "content/public/common/content_client.h"
+namespace gpu {
+struct GpuPreferences;
+} // namespace gpu
+
namespace content {
class ServiceRegistry;
@@ -19,7 +23,9 @@ class CONTENT_EXPORT ContentGpuClient {
// Allows client to register Mojo services in |registry| on the GPU process.
// The registered services will be exposed to the browser process through
// GpuProcessHost.
- virtual void RegisterMojoServices(ServiceRegistry* registry) {}
+ virtual void RegisterMojoServices(
+ ServiceRegistry* registry,
+ const gpu::GpuPreferences& gpu_preferences) {}
};
} // namespace content
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698