Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: content/common/gpu/gpu_watchdog.h

Issue 1846253003: Revert of Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu/gpu_memory_tracking.cc ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/common/gpu/gpu_memory_tracking.cc ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698