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

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp

Issue 2346663004: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 3 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 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #include "core/timing/PerformanceUserTiming.h" 26 #include "core/timing/PerformanceUserTiming.h"
27 27
28 #include "bindings/core/v8/ExceptionState.h" 28 #include "bindings/core/v8/ExceptionState.h"
29 #include "core/dom/ExceptionCode.h" 29 #include "core/dom/ExceptionCode.h"
30 #include "core/timing/PerformanceBase.h" 30 #include "core/timing/PerformanceBase.h"
31 #include "core/timing/PerformanceMark.h" 31 #include "core/timing/PerformanceMark.h"
32 #include "core/timing/PerformanceMeasure.h" 32 #include "core/timing/PerformanceMeasure.h"
33 #include "platform/Histogram.h" 33 #include "platform/Histogram.h"
34 #include "platform/TraceEvent.h" 34 #include "platform/tracing/TraceEvent.h"
35 #include "public/platform/Platform.h" 35 #include "public/platform/Platform.h"
36 #include "wtf/text/StringHash.h" 36 #include "wtf/text/StringHash.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 namespace { 40 namespace {
41 41
42 using RestrictedKeyMap = HashMap<String, NavigationTimingFunction>; 42 using RestrictedKeyMap = HashMap<String, NavigationTimingFunction>;
43 43
44 RestrictedKeyMap* createRestrictedKeyMap() 44 RestrictedKeyMap* createRestrictedKeyMap()
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 } 229 }
230 230
231 DEFINE_TRACE(UserTiming) 231 DEFINE_TRACE(UserTiming)
232 { 232 {
233 visitor->trace(m_performance); 233 visitor->trace(m_performance);
234 visitor->trace(m_marksMap); 234 visitor->trace(m_marksMap);
235 visitor->trace(m_measuresMap); 235 visitor->trace(m_measuresMap);
236 } 236 }
237 237
238 } // namespace blink 238 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698