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 CONTENT_COMMON_GPU_GPU_WATCHDOG_H_ | |
6 #define CONTENT_COMMON_GPU_GPU_WATCHDOG_H_ | |
7 | |
8 #include "base/macros.h" | |
9 | |
10 namespace content { | |
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 content | |
27 | |
28 #endif // CONTENT_COMMON_GPU_GPU_WATCHDOG_H_ | |
OLD | NEW |