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

Side by Side Diff: third_party/WebKit/Source/core/dom/TaskRunnerHelper.h

Issue 2646933002: Move PerformanceBase to TaskRunnerTimer. (Closed)
Patch Set: unneeded includes Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/dom/TaskRunnerHelper.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TaskRunnerHelper_h 5 #ifndef TaskRunnerHelper_h
6 #define TaskRunnerHelper_h 6 #define TaskRunnerHelper_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/HashTraits.h" 10 #include "wtf/HashTraits.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 DatabaseAccess, 88 DatabaseAccess,
89 89
90 // https://w3c.github.io/presentation-api/#common-idioms 90 // https://w3c.github.io/presentation-api/#common-idioms
91 // This task source is used for all tasks in the Presentation API spec. 91 // This task source is used for all tasks in the Presentation API spec.
92 Presentation, 92 Presentation,
93 93
94 // https://www.w3.org/TR/2016/WD-generic-sensor-20160830/#sensor-task-source 94 // https://www.w3.org/TR/2016/WD-generic-sensor-20160830/#sensor-task-source
95 // This task source is used for all tasks in the Sensor API spec. 95 // This task source is used for all tasks in the Sensor API spec.
96 Sensor, 96 Sensor,
97 97
98 // https://w3c.github.io/performance-timeline/#performance-timeline
99 PerformanceTimeline,
100
98 // Use MiscPlatformAPI for a task that is defined in the spec but is not yet 101 // Use MiscPlatformAPI for a task that is defined in the spec but is not yet
99 // associated with any specific task runner in the spec. MiscPlatformAPI is 102 // associated with any specific task runner in the spec. MiscPlatformAPI is
100 // not encouraged for stable and matured APIs. The spec should define the task 103 // not encouraged for stable and matured APIs. The spec should define the task
101 // runner explicitly. 104 // runner explicitly.
102 // The task runner may be throttled. 105 // The task runner may be throttled.
103 MiscPlatformAPI, 106 MiscPlatformAPI,
104 107
105 // Other internal tasks that cannot fit any of the above task runners 108 // Other internal tasks that cannot fit any of the above task runners
106 // can be posted here, but the usage is not encouraged. The task runner 109 // can be posted here, but the usage is not encouraged. The task runner
107 // may be throttled. 110 // may be throttled.
(...skipping 29 matching lines...) Expand all
137 public: 140 public:
138 static RefPtr<WebTaskRunner> get(TaskType, LocalFrame*); 141 static RefPtr<WebTaskRunner> get(TaskType, LocalFrame*);
139 static RefPtr<WebTaskRunner> get(TaskType, Document*); 142 static RefPtr<WebTaskRunner> get(TaskType, Document*);
140 static RefPtr<WebTaskRunner> get(TaskType, ExecutionContext*); 143 static RefPtr<WebTaskRunner> get(TaskType, ExecutionContext*);
141 static RefPtr<WebTaskRunner> get(TaskType, ScriptState*); 144 static RefPtr<WebTaskRunner> get(TaskType, ScriptState*);
142 }; 145 };
143 146
144 } // namespace blink 147 } // namespace blink
145 148
146 #endif 149 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/TaskRunnerHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698