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

Side by Side Diff: gpu/ipc/service/gpu_watchdog.h

Issue 1845563005: Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Drop ref to deleted content_tests_gypi_values.content_unittests_ozone_sources Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « gpu/ipc/service/gpu_memory_tracking.cc ('k') | gpu/ipc/service/image_transport_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_GPU_GPU_WATCHDOG_H_ 5 #ifndef GPU_IPC_SERVICE_GPU_WATCHDOG_H_
6 #define CONTENT_COMMON_GPU_GPU_WATCHDOG_H_ 6 #define GPU_IPC_SERVICE_GPU_WATCHDOG_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace content { 10 namespace gpu {
11 11
12 // Interface for objects that monitor the a GPUProcessor's progress. The 12 // Interface for objects that monitor the a GPUProcessor's progress. The
13 // GPUProcessor will regularly invoke CheckArmed. 13 // GPUProcessor will regularly invoke CheckArmed.
14 class GpuWatchdog { 14 class GpuWatchdog {
15 public: 15 public:
16 virtual void CheckArmed() = 0; 16 virtual void CheckArmed() = 0;
17 17
18 protected: 18 protected:
19 GpuWatchdog() {} 19 GpuWatchdog() {}
20 virtual ~GpuWatchdog() {}; 20 virtual ~GpuWatchdog() {};
21 21
22 private: 22 private:
23 DISALLOW_COPY_AND_ASSIGN(GpuWatchdog); 23 DISALLOW_COPY_AND_ASSIGN(GpuWatchdog);
24 }; 24 };
25 25
26 } // namespace content 26 } // namespace gpu
27 27
28 #endif // CONTENT_COMMON_GPU_GPU_WATCHDOG_H_ 28 #endif // GPU_IPC_SERVICE_GPU_WATCHDOG_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_memory_tracking.cc ('k') | gpu/ipc/service/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698