| 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 76de960a2fbe7cb8ccac60c485896fcffceeb02b..0f096df2ff778b0b0045be577c141287b814e34a 100644
|
| --- a/content/browser/gpu/gpu_process_host.h
|
| +++ b/content/browser/gpu/gpu_process_host.h
|
| @@ -68,6 +68,7 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
|
| CreateGpuMemoryBufferCallback;
|
|
|
| static bool gpu_enabled() { return gpu_enabled_; }
|
| + static int gpu_crash_count() { return gpu_crash_count_; }
|
|
|
| // Creates a new GpuProcessHost or gets an existing one, resulting in the
|
| // launching of a GPU process if required. Returns null on failure. It
|
| @@ -233,6 +234,12 @@ class GpuProcessHost : public BrowserChildProcessHostDelegate,
|
|
|
| static bool hardware_gpu_enabled_;
|
|
|
| + static int gpu_crash_count_;
|
| + static int gpu_recent_crash_count_;
|
| + static base::Time last_gpu_crash_time_;
|
| + static bool crashed_before_;
|
| + static int swiftshader_crash_count_;
|
| +
|
| scoped_ptr<BrowserChildProcessHostImpl> process_;
|
|
|
| // Track the URLs of the pages which have live offscreen contexts,
|
|
|