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

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

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 return getEntrySequenceByName(m_measuresMap, name); 245 return getEntrySequenceByName(m_measuresMap, name);
246 } 246 }
247 247
248 DEFINE_TRACE(UserTiming) { 248 DEFINE_TRACE(UserTiming) {
249 visitor->trace(m_performance); 249 visitor->trace(m_performance);
250 visitor->trace(m_marksMap); 250 visitor->trace(m_marksMap);
251 visitor->trace(m_measuresMap); 251 visitor->trace(m_measuresMap);
252 } 252 }
253 253
254 } // namespace blink 254 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698