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

Side by Side Diff: content/common/gpu/gpu_watchdog.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/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 CONTENT_COMMON_GPU_GPU_WATCHDOG_H_
6 #define CONTENT_COMMON_GPU_GPU_WATCHDOG_H_ 6 #define CONTENT_COMMON_GPU_GPU_WATCHDOG_H_
7 7
8 namespace content {
9
8 // Interface for objects that monitor the a GPUProcessor's progress. The 10 // Interface for objects that monitor the a GPUProcessor's progress. The
9 // GPUProcessor will regularly invoke CheckArmed. 11 // GPUProcessor will regularly invoke CheckArmed.
10 class GpuWatchdog { 12 class GpuWatchdog {
11 public: 13 public:
12 virtual void CheckArmed() = 0; 14 virtual void CheckArmed() = 0;
13 15
14 protected: 16 protected:
15 GpuWatchdog() {} 17 GpuWatchdog() {}
16 virtual ~GpuWatchdog() {}; 18 virtual ~GpuWatchdog() {};
17 19
18 private: 20 private:
19 DISALLOW_COPY_AND_ASSIGN(GpuWatchdog); 21 DISALLOW_COPY_AND_ASSIGN(GpuWatchdog);
20 }; 22 };
21 23
24 } // namespace content
25
22 #endif // CONTENT_COMMON_GPU_GPU_WATCHDOG_H_ 26 #endif // CONTENT_COMMON_GPU_GPU_WATCHDOG_H_
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698