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

Unified Diff: content/gpu/gpu_child_thread.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
Index: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index a0e2bd36d52727e375831d86085c21217f206fcf..221c48076de8afc8f596a1ea5052114ef1aad92e 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -15,6 +15,7 @@
#include "base/command_line.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "base/memory/weak_ptr.h"
#include "base/metrics/field_trial.h"
#include "base/time/time.h"
#include "build/build_config.h"
@@ -72,6 +73,8 @@ class GpuChildThread : public ChildThreadImpl,
void Init(const base::Time& process_start_time);
private:
+ class QueueingConnectionFilter;
+
GpuChildThread(const ChildThreadImpl::Options& options,
std::unique_ptr<gpu::GpuWatchdogThread> gpu_watchdog_thread,
bool dead_on_arrival,
@@ -130,6 +133,8 @@ class GpuChildThread : public ChildThreadImpl,
std::unique_ptr<ui::GpuService> gpu_service_;
mojo::AssociatedBinding<ui::mojom::GpuMain> gpu_main_binding_;
+ base::WeakPtr<QueueingConnectionFilter> queueing_filter_;
+
DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
};

Powered by Google App Engine
This is Rietveld 408576698