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

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

Issue 1908223002: Remove content/gpu from content/browser/android/DEPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owned_sync_point_manager_ Created 4 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
« no previous file with comments | « content/public/gpu/BUILD.gn ('k') | content/public/gpu/content_gpu_client.cc » ('j') | 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..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
« no previous file with comments | « content/public/gpu/BUILD.gn ('k') | content/public/gpu/content_gpu_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698