OLD | NEW |
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 11 matching lines...) Expand all Loading... |
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 PerformanceUserTiming_h | 26 #ifndef PerformanceUserTiming_h |
27 #define PerformanceUserTiming_h | 27 #define PerformanceUserTiming_h |
28 | 28 |
29 #include "core/timing/PerformanceBase.h" | 29 #include "core/timing/PerformanceBase.h" |
30 #include "core/timing/PerformanceTiming.h" | 30 #include "core/timing/PerformanceTiming.h" |
31 #include "platform/heap/Handle.h" | 31 #include "platform/heap/Handle.h" |
32 #include "wtf/text/WTFString.h" | 32 #include "platform/wtf/text/WTFString.h" |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
35 | 35 |
36 class ExceptionState; | 36 class ExceptionState; |
37 class PerformanceBase; | 37 class PerformanceBase; |
38 | 38 |
39 typedef unsigned long long ( | 39 typedef unsigned long long ( |
40 PerformanceTiming::*NavigationTimingFunction)() const; | 40 PerformanceTiming::*NavigationTimingFunction)() const; |
41 using PerformanceEntryMap = HeapHashMap<String, PerformanceEntryVector>; | 41 using PerformanceEntryMap = HeapHashMap<String, PerformanceEntryVector>; |
42 | 42 |
(...skipping 26 matching lines...) Expand all Loading... |
69 double FindExistingMarkStartTime(const String& mark_name, ExceptionState&); | 69 double FindExistingMarkStartTime(const String& mark_name, ExceptionState&); |
70 | 70 |
71 Member<PerformanceBase> performance_; | 71 Member<PerformanceBase> performance_; |
72 PerformanceEntryMap marks_map_; | 72 PerformanceEntryMap marks_map_; |
73 PerformanceEntryMap measures_map_; | 73 PerformanceEntryMap measures_map_; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace blink | 76 } // namespace blink |
77 | 77 |
78 #endif // !defined(PerformanceUserTiming_h) | 78 #endif // !defined(PerformanceUserTiming_h) |
OLD | NEW |