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

Unified Diff: content/public/gpu/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
« content/gpu/gpu_child_thread.cc ('K') | « 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 ed348127eb9dafb3dc4bd1e7c9ca01ea51265e3d..5f78b49ffc3b7998077692db6fdddc346d9d2022 100644
--- a/content/public/gpu/content_gpu_client.h
+++ b/content/public/gpu/content_gpu_client.h
@@ -13,11 +13,6 @@ class SyncPointManager;
struct GpuPreferences;
}
-namespace service_manager {
-class Connector;
-class InterfaceRegistry;
-}
-
namespace content {
// Embedder API for participating in gpu logic.
@@ -30,16 +25,10 @@ class CONTENT_EXPORT ContentGpuClient {
// which should be used to inform the browser process of this state.
virtual void Initialize(base::FieldTrialList::Observer* observer) {}
- // Allows the client to expose interfaces from the GPU process to the browser
- // process via |registry|.
- virtual void ExposeInterfacesToBrowser(
- service_manager::InterfaceRegistry* registry,
+ // Called during initialization once the GpuService has been initialized.
+ virtual void GpuServiceInitialized(
const gpu::GpuPreferences& gpu_preferences) {}
- // Allow the client to bind interfaces exposed by the browser process.
- virtual void ConsumeInterfacesFromBrowser(
- service_manager::Connector* connector) {}
-
// Allows client to supply a SyncPointManager instance instead of having
// content internally create one.
virtual gpu::SyncPointManager* GetSyncPointManager();
« content/gpu/gpu_child_thread.cc ('K') | « content/gpu/gpu_child_thread.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698