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

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceMark.h

Issue 2818083002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of core/. (Closed)
Patch Set: Rebase. 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) 2012 Intel Inc. All rights reserved. 2 * Copyright (C) 2012 Intel 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 10 matching lines...) Expand all
21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
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 PerformanceMark_h 26 #ifndef PerformanceMark_h
27 #define PerformanceMark_h 27 #define PerformanceMark_h
28 28
29 #include "core/timing/PerformanceEntry.h" 29 #include "core/timing/PerformanceEntry.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include "wtf/text/WTFString.h" 31 #include "platform/wtf/text/WTFString.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class CORE_EXPORT PerformanceMark final : public PerformanceEntry { 35 class CORE_EXPORT PerformanceMark final : public PerformanceEntry {
36 DEFINE_WRAPPERTYPEINFO(); 36 DEFINE_WRAPPERTYPEINFO();
37 37
38 public: 38 public:
39 static PerformanceMark* Create(const String& name, double start_time) { 39 static PerformanceMark* Create(const String& name, double start_time) {
40 return new PerformanceMark(name, start_time); 40 return new PerformanceMark(name, start_time);
41 } 41 }
42 42
43 DEFINE_INLINE_VIRTUAL_TRACE() { PerformanceEntry::Trace(visitor); } 43 DEFINE_INLINE_VIRTUAL_TRACE() { PerformanceEntry::Trace(visitor); }
44 44
45 private: 45 private:
46 PerformanceMark(const String& name, double start_time) 46 PerformanceMark(const String& name, double start_time)
47 : PerformanceEntry(name, "mark", start_time, start_time) {} 47 : PerformanceEntry(name, "mark", start_time, start_time) {}
48 48
49 ~PerformanceMark() override {} 49 ~PerformanceMark() override {}
50 }; 50 };
51 51
52 } // namespace blink 52 } // namespace blink
53 53
54 #endif // PerformanceMark_h 54 #endif // PerformanceMark_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698