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

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..93b62d818a51934567092449a3bdfa440197c66c 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -72,6 +72,8 @@ class GpuChildThread : public ChildThreadImpl,
void Init(const base::Time& process_start_time);
private:
+ class QueueingConnectionFilter;
Ken Rockot(use gerrit already) 2017/04/20 17:41:44 Does this really need to be a nested class declara
+
GpuChildThread(const ChildThreadImpl::Options& options,
std::unique_ptr<gpu::GpuWatchdogThread> gpu_watchdog_thread,
bool dead_on_arrival,
@@ -130,6 +132,9 @@ class GpuChildThread : public ChildThreadImpl,
std::unique_ptr<ui::GpuService> gpu_service_;
mojo::AssociatedBinding<ui::mojom::GpuMain> gpu_main_binding_;
+ // Holds a closure that releases pending interface requests on the IO thread.
+ base::Closure release_closure_;
+
DISALLOW_COPY_AND_ASSIGN(GpuChildThread);
};

Powered by Google App Engine
This is Rietveld 408576698