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

Side by Side Diff: third_party/WebKit/Source/platform/Timer.h

Issue 2810413002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of platform/. (Closed)
Patch Set: Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef Timer_h 26 #ifndef Timer_h
27 #define Timer_h 27 #define Timer_h
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "platform/WebTaskRunner.h" 30 #include "platform/WebTaskRunner.h"
31 #include "platform/heap/Handle.h" 31 #include "platform/heap/Handle.h"
32 #include "platform/wtf/AddressSanitizer.h"
33 #include "platform/wtf/Allocator.h"
34 #include "platform/wtf/CurrentTime.h"
35 #include "platform/wtf/Noncopyable.h"
36 #include "platform/wtf/Threading.h"
37 #include "platform/wtf/Vector.h"
38 #include "platform/wtf/WeakPtr.h"
32 #include "public/platform/WebTraceLocation.h" 39 #include "public/platform/WebTraceLocation.h"
33 #include "wtf/AddressSanitizer.h"
34 #include "wtf/Allocator.h"
35 #include "wtf/CurrentTime.h"
36 #include "wtf/Noncopyable.h"
37 #include "wtf/Threading.h"
38 #include "wtf/Vector.h"
39 #include "wtf/WeakPtr.h"
40 40
41 namespace blink { 41 namespace blink {
42 42
43 // Time intervals are all in seconds. 43 // Time intervals are all in seconds.
44 44
45 class PLATFORM_EXPORT TimerBase { 45 class PLATFORM_EXPORT TimerBase {
46 WTF_MAKE_NONCOPYABLE(TimerBase); 46 WTF_MAKE_NONCOPYABLE(TimerBase);
47 47
48 public: 48 public:
49 explicit TimerBase(RefPtr<WebTaskRunner>); 49 explicit TimerBase(RefPtr<WebTaskRunner>);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 inline bool TimerBase::IsActive() const { 202 inline bool TimerBase::IsActive() const {
203 #if DCHECK_IS_ON() 203 #if DCHECK_IS_ON()
204 DCHECK_EQ(thread_, CurrentThread()); 204 DCHECK_EQ(thread_, CurrentThread());
205 #endif 205 #endif
206 return weak_ptr_factory_.HasWeakPtrs(); 206 return weak_ptr_factory_.HasWeakPtrs();
207 } 207 }
208 208
209 } // namespace blink 209 } // namespace blink
210 210
211 #endif // Timer_h 211 #endif // Timer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/Theme.h ('k') | third_party/WebKit/Source/platform/Timer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698