Chromium Code Reviews| Index: content/gpu/gpu_watchdog_thread.h |
| diff --git a/content/gpu/gpu_watchdog_thread.h b/content/gpu/gpu_watchdog_thread.h |
| index c766ca3493796949c6f8365c5f879630a8de38e0..2259c31b58fa14305d917c0eb975b7955c69945d 100644 |
| --- a/content/gpu/gpu_watchdog_thread.h |
| +++ b/content/gpu/gpu_watchdog_thread.h |
| @@ -62,6 +62,9 @@ class GpuWatchdogThread : public base::Thread, |
| void OnAcknowledge(); |
| void OnCheck(bool after_suspend); |
| void DeliberatelyTerminateToRecoverFromHang(); |
| +#if defined(USE_X11) |
| + void CheckXServerActive(); |
| +#endif |
| void OnAddPowerObserver(); |
| @@ -93,6 +96,10 @@ class GpuWatchdogThread : public base::Thread, |
| FILE* tty_file_; |
| #endif |
| +#if defined(USE_X11) |
| + bool x_server_active; |
|
danakj
2015/01/06 00:29:19
member variables have _ suffix
|
| +#endif |
| + |
| base::WeakPtrFactory<GpuWatchdogThread> weak_factory_; |
| DISALLOW_COPY_AND_ASSIGN(GpuWatchdogThread); |