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

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

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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
« no previous file with comments | « Source/core/timing/Performance.cpp ('k') | Source/core/workers/AbstractWorker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 14 matching lines...) Expand all
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "core/timing/PerformanceUserTiming.h" 27 #include "core/timing/PerformanceUserTiming.h"
28 28
29 #include "bindings/v8/ExceptionState.h" 29 #include "bindings/v8/ExceptionState.h"
30 #include "core/dom/ExceptionCode.h" 30 #include "core/dom/ExceptionCode.h"
31 #include "core/timing/Performance.h" 31 #include "core/timing/Performance.h"
32 #include "core/timing/PerformanceMark.h" 32 #include "core/timing/PerformanceMark.h"
33 #include "core/timing/PerformanceMeasure.h" 33 #include "core/timing/PerformanceMeasure.h"
34 #include "public/platform/Platform.h" 34 #include "public/platform/Platform.h"
35 #include "wtf/text/WTFString.h"
36 35
37 namespace WebCore { 36 namespace WebCore {
38 37
39 namespace { 38 namespace {
40 39
41 typedef HashMap<String, NavigationTimingFunction> RestrictedKeyMap; 40 typedef HashMap<String, NavigationTimingFunction> RestrictedKeyMap;
42 static RestrictedKeyMap restrictedKeyMap() 41 static RestrictedKeyMap restrictedKeyMap()
43 { 42 {
44 DEFINE_STATIC_LOCAL(RestrictedKeyMap, map, ()); 43 DEFINE_STATIC_LOCAL(RestrictedKeyMap, map, ());
45 if (map.isEmpty()) { 44 if (map.isEmpty()) {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 { 199 {
201 return convertToEntrySequence(m_measuresMap); 200 return convertToEntrySequence(m_measuresMap);
202 } 201 }
203 202
204 Vector<RefPtr<PerformanceEntry> > UserTiming::getMeasures(const String& name) co nst 203 Vector<RefPtr<PerformanceEntry> > UserTiming::getMeasures(const String& name) co nst
205 { 204 {
206 return getEntrySequenceByName(m_measuresMap, name); 205 return getEntrySequenceByName(m_measuresMap, name);
207 } 206 }
208 207
209 } // namespace WebCore 208 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/timing/Performance.cpp ('k') | Source/core/workers/AbstractWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698