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

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

Issue 732803003: Clean up forward declarations in Source/core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/PerformanceResourceTiming.h ('k') | Source/core/workers/WorkerConsole.h » ('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 21 matching lines...) Expand all
32 #include "wtf/HashMap.h" 32 #include "wtf/HashMap.h"
33 #include "wtf/PassRefPtr.h" 33 #include "wtf/PassRefPtr.h"
34 #include "wtf/RefCounted.h" 34 #include "wtf/RefCounted.h"
35 #include "wtf/text/StringHash.h" 35 #include "wtf/text/StringHash.h"
36 #include "wtf/text/WTFString.h" 36 #include "wtf/text/WTFString.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class ExceptionState; 40 class ExceptionState;
41 class Performance; 41 class Performance;
42 class PerformanceEntry;
43 42
44 typedef unsigned long long (PerformanceTiming::*NavigationTimingFunction)() cons t; 43 typedef unsigned long long (PerformanceTiming::*NavigationTimingFunction)() cons t;
45 using PerformanceEntryMap = WillBeHeapHashMap<String, PerformanceEntryVector>; 44 using PerformanceEntryMap = WillBeHeapHashMap<String, PerformanceEntryVector>;
46 45
47 class UserTiming : public RefCountedWillBeGarbageCollected<UserTiming> { 46 class UserTiming : public RefCountedWillBeGarbageCollected<UserTiming> {
48 public: 47 public:
49 static PassRefPtrWillBeRawPtr<UserTiming> create(Performance* performance) 48 static PassRefPtrWillBeRawPtr<UserTiming> create(Performance* performance)
50 { 49 {
51 return adoptRefWillBeNoop(new UserTiming(performance)); 50 return adoptRefWillBeNoop(new UserTiming(performance));
52 } 51 }
(...skipping 17 matching lines...) Expand all
70 69
71 double findExistingMarkStartTime(const String& markName, ExceptionState&); 70 double findExistingMarkStartTime(const String& markName, ExceptionState&);
72 RawPtrWillBeMember<Performance> m_performance; 71 RawPtrWillBeMember<Performance> m_performance;
73 PerformanceEntryMap m_marksMap; 72 PerformanceEntryMap m_marksMap;
74 PerformanceEntryMap m_measuresMap; 73 PerformanceEntryMap m_measuresMap;
75 }; 74 };
76 75
77 } 76 }
78 77
79 #endif // !defined(PerformanceUserTiming_h) 78 #endif // !defined(PerformanceUserTiming_h)
OLDNEW
« no previous file with comments | « Source/core/timing/PerformanceResourceTiming.h ('k') | Source/core/workers/WorkerConsole.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698