| Index: content/common/gpu/gpu_watchdog.h
|
| diff --git a/content/common/gpu/gpu_watchdog.h b/content/common/gpu/gpu_watchdog.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..069aeb727371e52bc16102070ad8ded658552ed9
|
| --- /dev/null
|
| +++ b/content/common/gpu/gpu_watchdog.h
|
| @@ -0,0 +1,28 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_COMMON_GPU_GPU_WATCHDOG_H_
|
| +#define CONTENT_COMMON_GPU_GPU_WATCHDOG_H_
|
| +
|
| +#include "base/macros.h"
|
| +
|
| +namespace content {
|
| +
|
| +// Interface for objects that monitor the a GPUProcessor's progress. The
|
| +// GPUProcessor will regularly invoke CheckArmed.
|
| +class GpuWatchdog {
|
| + public:
|
| + virtual void CheckArmed() = 0;
|
| +
|
| + protected:
|
| + GpuWatchdog() {}
|
| + virtual ~GpuWatchdog() {};
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(GpuWatchdog);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_COMMON_GPU_GPU_WATCHDOG_H_
|
|
|