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

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

Issue 9212054: Fix DirectX diagnostic collection for about:gpu page. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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/browser/gpu/gpu_process_host.h
===================================================================
--- content/browser/gpu/gpu_process_host.h (revision 118516)
+++ content/browser/gpu/gpu_process_host.h (working copy)
@@ -80,12 +80,15 @@
// Whether this GPU process is set up to use software rendering.
bool software_rendering();
+ // Whether this GPU process is sandboxed.
+ bool sandboxed();
+
void ForceShutdown();
private:
static bool HostIsValid(GpuProcessHost* host);
- GpuProcessHost(int host_id);
+ GpuProcessHost(int host_id, bool sandboxed);
virtual ~GpuProcessHost();
bool Init();
@@ -149,6 +152,7 @@
bool in_process_;
bool software_rendering_;
+ bool sandboxed_;
scoped_ptr<GpuMainThread> in_process_gpu_thread_;

Powered by Google App Engine
This is Rietveld 408576698