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..3704141283b580a11fb39f64c1079413f0285772 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 { |
+class SyncPointManager; |
+} |
+ |
namespace content { |
class ServiceRegistry; |
@@ -20,6 +24,10 @@ class CONTENT_EXPORT ContentGpuClient { |
// The registered services will be exposed to the browser process through |
// GpuProcessHost. |
virtual void RegisterMojoServices(ServiceRegistry* registry) {} |
+ |
+ // Allows client to supply a SyncPointManager instance instead of having |
+ // content internally create one. |
+ virtual gpu::SyncPointManager* GetSyncPointManager(); |
}; |
} // namespace content |