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

Unified Diff: content/public/browser/content_browser_client.h

Issue 2197613003: gpu: Introduce GpuChannelEstablishFactory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot merge Created 4 years, 4 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: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 1726f1a179f65c4dec88dc4298e85290897a4476..859691d452e9a8b9cd2ca3e4cc5e7411c8010109 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -56,6 +56,10 @@ namespace gfx {
class ImageSkia;
}
+namespace gpu {
+class GpuChannelEstablishFactory;
+}
+
namespace media {
class CdmFactory;
}
@@ -571,6 +575,9 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual BrowserPpapiHost* GetExternalBrowserPpapiHost(
int plugin_child_id);
+ // Gets the factory to use to establish a connection to the GPU process.
+ virtual gpu::GpuChannelEstablishFactory* GetGpuChannelEstablishFactory();
+
// Returns true if the socket operation specified by |params| is allowed from
// the given |browser_context| and |url|. If |params| is nullptr, this method
// checks the basic "socket" permission, which is for those operations that

Powered by Google App Engine
This is Rietveld 408576698