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

Side by Side Diff: Source/core/inspector/InspectorTraceEvents.h

Issue 552323002: DevTools: log worker thread ids on the main thread when Timeline recording is enabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 InspectorTraceEvents_h 5 #ifndef InspectorTraceEvents_h
6 #define InspectorTraceEvents_h 6 #define InspectorTraceEvents_h
7 7
8 #include "platform/EventTracer.h" 8 #include "platform/EventTracer.h"
9 #include "platform/TraceEvent.h" 9 #include "platform/TraceEvent.h"
10 #include "wtf/Forward.h" 10 #include "wtf/Forward.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class Document; 14 class Document;
15 class Event; 15 class Event;
16 class ExecutionContext; 16 class ExecutionContext;
17 class FrameView; 17 class FrameView;
18 class GraphicsContext; 18 class GraphicsContext;
19 class GraphicsLayer; 19 class GraphicsLayer;
20 class KURL; 20 class KURL;
21 class LayoutRect; 21 class LayoutRect;
22 class LocalFrame; 22 class LocalFrame;
23 class RenderObject; 23 class RenderObject;
24 class RenderImage; 24 class RenderImage;
25 class ResourceRequest; 25 class ResourceRequest;
26 class ResourceResponse; 26 class ResourceResponse;
27 class ScriptSourceCode; 27 class ScriptSourceCode;
28 class ScriptCallStack; 28 class ScriptCallStack;
29 class WorkerThread;
29 class XMLHttpRequest; 30 class XMLHttpRequest;
30 31
31 class InspectorLayoutEvent { 32 class InspectorLayoutEvent {
32 public: 33 public:
33 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* ); 34 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> beginData(FrameView* );
34 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject * rootForThisLayout); 35 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> endData(RenderObject * rootForThisLayout);
35 }; 36 };
36 37
37 class InspectorSendRequestEvent { 38 class InspectorSendRequestEvent {
38 public: 39 public:
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 class InspectorEventDispatchEvent { 143 class InspectorEventDispatchEvent {
143 public: 144 public:
144 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Event&); 145 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Event&);
145 }; 146 };
146 147
147 class InspectorTimeStampEvent { 148 class InspectorTimeStampEvent {
148 public: 149 public:
149 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, const String& message); 150 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, const String& message);
150 }; 151 };
151 152
153 class InspectorTracingSessionIdForWorkerEvent {
154 public:
155 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s essionId, WorkerThread*);
156 };
157
152 } // namespace blink 158 } // namespace blink
153 159
154 160
155 #endif // !defined(InspectorTraceEvents_h) 161 #endif // !defined(InspectorTraceEvents_h)
OLDNEW
« no previous file with comments | « LayoutTests/inspector/tracing/worker-events-expected.txt ('k') | Source/core/inspector/InspectorTraceEvents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698