| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef GPU_IPC_SERVICE_GPU_WATCHDOG_H_ | |
| 6 #define GPU_IPC_SERVICE_GPU_WATCHDOG_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 | |
| 10 namespace gpu { | |
| 11 | |
| 12 // Interface for objects that monitor the a GPUProcessor's progress. The | |
| 13 // GPUProcessor will regularly invoke CheckArmed. | |
| 14 class GpuWatchdog { | |
| 15 public: | |
| 16 virtual void CheckArmed() = 0; | |
| 17 | |
| 18 protected: | |
| 19 GpuWatchdog() {} | |
| 20 virtual ~GpuWatchdog() {}; | |
| 21 | |
| 22 private: | |
| 23 DISALLOW_COPY_AND_ASSIGN(GpuWatchdog); | |
| 24 }; | |
| 25 | |
| 26 } // namespace gpu | |
| 27 | |
| 28 #endif // GPU_IPC_SERVICE_GPU_WATCHDOG_H_ | |
| OLD | NEW |