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

Side by Side Diff: cc/delay_based_time_source.h

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
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 CC_DELAY_BASED_TIME_SOURCE_H_ 5 #ifndef CC_DELAY_BASED_TIME_SOURCE_H_
6 #define CC_DELAY_BASED_TIME_SOURCE_H_ 6 #define CC_DELAY_BASED_TIME_SOURCE_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "cc/cc_export.h" 9 #include "cc/base/cc_export.h"
10 #include "cc/time_source.h" 10 #include "cc/time_source.h"
11 11
12 namespace cc { 12 namespace cc {
13 13
14 class Thread; 14 class Thread;
15 15
16 // This timer implements a time source that achieves the specified interval 16 // This timer implements a time source that achieves the specified interval
17 // in face of millisecond-precision delayed callbacks and random queueing delays . 17 // in face of millisecond-precision delayed callbacks and random queueing delays .
18 class CC_EXPORT DelayBasedTimeSource : public TimeSource { 18 class CC_EXPORT DelayBasedTimeSource : public TimeSource {
19 public: 19 public:
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 State m_state; 72 State m_state;
73 73
74 Thread* m_thread; 74 Thread* m_thread;
75 base::WeakPtrFactory<DelayBasedTimeSource> m_weakFactory; 75 base::WeakPtrFactory<DelayBasedTimeSource> m_weakFactory;
76 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSource); 76 DISALLOW_COPY_AND_ASSIGN(DelayBasedTimeSource);
77 }; 77 };
78 78
79 } // namespace cc 79 } // namespace cc
80 80
81 #endif // CC_DELAY_BASED_TIME_SOURCE_H_ 81 #endif // CC_DELAY_BASED_TIME_SOURCE_H_
OLDNEW
« cc/cc.gyp ('K') | « cc/debug_rect_history.cc ('k') | cc/delay_based_time_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698