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

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

Issue 17569013: Remove unused includes from core/inspector, core/loader and core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 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
« no previous file with comments | « Source/core/page/PerformanceUserTiming.h ('k') | Source/core/page/Screen.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 11 matching lines...) Expand all
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 #include "config.h" 26 #include "config.h"
27 #include "core/page/PerformanceUserTiming.h" 27 #include "core/page/PerformanceUserTiming.h"
28 28
29 #include "core/page/Performance.h" 29 #include "core/page/Performance.h"
30 #include "core/page/PerformanceMark.h" 30 #include "core/page/PerformanceMark.h"
31 #include "core/page/PerformanceMeasure.h" 31 #include "core/page/PerformanceMeasure.h"
32 #include <wtf/dtoa/utils.h> 32 #include "wtf/text/WTFString.h"
33 #include <wtf/text/WTFString.h>
34 33
35 namespace WebCore { 34 namespace WebCore {
36 35
37 namespace { 36 namespace {
38 37
39 typedef HashMap<String, NavigationTimingFunction> RestrictedKeyMap; 38 typedef HashMap<String, NavigationTimingFunction> RestrictedKeyMap;
40 static RestrictedKeyMap restrictedKeyMap() 39 static RestrictedKeyMap restrictedKeyMap()
41 { 40 {
42 DEFINE_STATIC_LOCAL(RestrictedKeyMap, map, ()); 41 DEFINE_STATIC_LOCAL(RestrictedKeyMap, map, ());
43 if (map.isEmpty()) { 42 if (map.isEmpty()) {
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 { 197 {
199 return convertToEntrySequence(m_measuresMap); 198 return convertToEntrySequence(m_measuresMap);
200 } 199 }
201 200
202 Vector<RefPtr<PerformanceEntry> > UserTiming::getMeasures(const String& name) co nst 201 Vector<RefPtr<PerformanceEntry> > UserTiming::getMeasures(const String& name) co nst
203 { 202 {
204 return getEntrySequenceByName(m_measuresMap, name); 203 return getEntrySequenceByName(m_measuresMap, name);
205 } 204 }
206 205
207 } // namespace WebCore 206 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/PerformanceUserTiming.h ('k') | Source/core/page/Screen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698