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

Side by Side Diff: cc/delay_based_time_source.h

Issue 11225022: cc: Remove CC*.h temporary includes, part 2/4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « cc/cc.gyp ('k') | cc/delay_based_time_source_unittest.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CCDelayBasedTimeSource_h 5 #ifndef CCDelayBasedTimeSource_h
6 #define CCDelayBasedTimeSource_h 6 #define CCDelayBasedTimeSource_h
7 7
8 #include "CCTimeSource.h" 8 #include "cc/time_source.h"
9 #include "CCTimer.h" 9 #include "cc/timer.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 class CCThread; 13 class CCThread;
14 14
15 // This timer implements a time source that achieves the specified interval 15 // This timer implements a time source that achieves the specified interval
16 // in face of millisecond-precision delayed callbacks and random queueing delays . 16 // in face of millisecond-precision delayed callbacks and random queueing delays .
17 class CCDelayBasedTimeSource : public CCTimeSource, CCTimerClient { 17 class CCDelayBasedTimeSource : public CCTimeSource, CCTimerClient {
18 public: 18 public:
19 static scoped_refptr<CCDelayBasedTimeSource> create(base::TimeDelta interval , CCThread*); 19 static scoped_refptr<CCDelayBasedTimeSource> create(base::TimeDelta interval , CCThread*);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 Parameters m_nextParameters; 70 Parameters m_nextParameters;
71 71
72 State m_state; 72 State m_state;
73 CCThread* m_thread; 73 CCThread* m_thread;
74 CCTimer m_timer; 74 CCTimer m_timer;
75 }; 75 };
76 76
77 } // namespace cc 77 } // namespace cc
78 78
79 #endif // CCDelayBasedTimeSource_h 79 #endif // CCDelayBasedTimeSource_h
OLDNEW
« no previous file with comments | « cc/cc.gyp ('k') | cc/delay_based_time_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698