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

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

Issue 724013003: DevTools: Connect worker cpu profiles to worker tracing threads. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressing comments. 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 | 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 "core/css/CSSSelector.h" 8 #include "core/css/CSSSelector.h"
9 #include "platform/EventTracer.h" 9 #include "platform/EventTracer.h"
10 #include "platform/TraceEvent.h" 10 #include "platform/TraceEvent.h"
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Event&); 247 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const Event&);
248 }; 248 };
249 249
250 class InspectorTimeStampEvent { 250 class InspectorTimeStampEvent {
251 public: 251 public:
252 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, const String& message); 252 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(ExecutionContex t*, const String& message);
253 }; 253 };
254 254
255 class InspectorTracingSessionIdForWorkerEvent { 255 class InspectorTracingSessionIdForWorkerEvent {
256 public: 256 public:
257 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s essionId, WorkerThread*); 257 static PassRefPtr<TraceEvent::ConvertableToTraceFormat> data(const String& s essionId, int workerId, WorkerThread*);
258 }; 258 };
259 259
260 } // namespace blink 260 } // namespace blink
261 261
262 262
263 #endif // !defined(InspectorTraceEvents_h) 263 #endif // !defined(InspectorTraceEvents_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698