| Index: content/browser/gpu/gpu_process_host.h
|
| diff --git a/content/browser/gpu/gpu_process_host.h b/content/browser/gpu/gpu_process_host.h
|
| index abf72801234e19b4480744eec1153d0eab4f6505..c7c7df79dea040fdf3af4c64928f4d2edfd98b0c 100644
|
| --- a/content/browser/gpu/gpu_process_host.h
|
| +++ b/content/browser/gpu/gpu_process_host.h
|
| @@ -23,6 +23,8 @@ namespace IPC {
|
| class Message;
|
| }
|
|
|
| +class GpuMainThread;
|
| +
|
| class GpuProcessHost : public BrowserChildProcessHost,
|
| public base::NonThreadSafe {
|
| public:
|
| @@ -151,6 +153,12 @@ class GpuProcessHost : public BrowserChildProcessHost,
|
| // 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_;
|
| +
|
| + scoped_ptr<GpuMainThread> in_process_gpu_thread_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(GpuProcessHost);
|
| };
|
|
|
|
|