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

Unified Diff: content/browser/gpu/gpu_process_host.h

Issue 10081018: Revert 132218 - Convert plugin and GPU process to brokered handle duplication. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/browser/gpu/browser_gpu_channel_host_factory.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.h
===================================================================
--- content/browser/gpu/gpu_process_host.h (revision 132251)
+++ content/browser/gpu/gpu_process_host.h (working copy)
@@ -41,6 +41,7 @@
};
typedef base::Callback<void(const IPC::ChannelHandle&,
+ base::ProcessHandle,
const content::GPUInfo&)>
EstablishChannelCallback;
@@ -164,6 +165,9 @@
// Qeueud messages to send when the process launches.
std::queue<IPC::Message*> queued_messages_;
+ // The handle for the GPU process or null if it is not known to be launched.
+ base::ProcessHandle gpu_process_;
+
// Whether we are running a GPU thread inside the browser process instead
// of a separate GPU process.
bool in_process_;
« no previous file with comments | « content/browser/gpu/browser_gpu_channel_host_factory.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698