OLD | NEW |
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 #include "config.h" | 5 #include "config.h" |
6 #include "core/inspector/InspectorTraceEvents.h" | 6 #include "core/inspector/InspectorTraceEvents.h" |
7 | 7 |
8 #include "bindings/core/v8/ScriptCallStackFactory.h" | 8 #include "bindings/core/v8/ScriptCallStackFactory.h" |
9 #include "bindings/core/v8/ScriptGCEvent.h" | 9 #include "bindings/core/v8/ScriptGCEvent.h" |
10 #include "bindings/core/v8/ScriptSourceCode.h" | 10 #include "bindings/core/v8/ScriptSourceCode.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 DEFINE_STRING_MAPPING(PseudoReadOnly) | 99 DEFINE_STRING_MAPPING(PseudoReadOnly) |
100 DEFINE_STRING_MAPPING(PseudoReadWrite) | 100 DEFINE_STRING_MAPPING(PseudoReadWrite) |
101 DEFINE_STRING_MAPPING(PseudoValid) | 101 DEFINE_STRING_MAPPING(PseudoValid) |
102 DEFINE_STRING_MAPPING(PseudoInvalid) | 102 DEFINE_STRING_MAPPING(PseudoInvalid) |
103 DEFINE_STRING_MAPPING(PseudoIndeterminate) | 103 DEFINE_STRING_MAPPING(PseudoIndeterminate) |
104 DEFINE_STRING_MAPPING(PseudoTarget) | 104 DEFINE_STRING_MAPPING(PseudoTarget) |
105 DEFINE_STRING_MAPPING(PseudoBefore) | 105 DEFINE_STRING_MAPPING(PseudoBefore) |
106 DEFINE_STRING_MAPPING(PseudoAfter) | 106 DEFINE_STRING_MAPPING(PseudoAfter) |
107 DEFINE_STRING_MAPPING(PseudoBackdrop) | 107 DEFINE_STRING_MAPPING(PseudoBackdrop) |
108 DEFINE_STRING_MAPPING(PseudoLang) | 108 DEFINE_STRING_MAPPING(PseudoLang) |
| 109 DEFINE_STRING_MAPPING(PseudoMarker) |
109 DEFINE_STRING_MAPPING(PseudoNot) | 110 DEFINE_STRING_MAPPING(PseudoNot) |
110 DEFINE_STRING_MAPPING(PseudoResizer) | 111 DEFINE_STRING_MAPPING(PseudoResizer) |
111 DEFINE_STRING_MAPPING(PseudoRoot) | 112 DEFINE_STRING_MAPPING(PseudoRoot) |
112 DEFINE_STRING_MAPPING(PseudoScope) | 113 DEFINE_STRING_MAPPING(PseudoScope) |
113 DEFINE_STRING_MAPPING(PseudoScrollbar) | 114 DEFINE_STRING_MAPPING(PseudoScrollbar) |
114 DEFINE_STRING_MAPPING(PseudoScrollbarButton) | 115 DEFINE_STRING_MAPPING(PseudoScrollbarButton) |
115 DEFINE_STRING_MAPPING(PseudoScrollbarCorner) | 116 DEFINE_STRING_MAPPING(PseudoScrollbarCorner) |
116 DEFINE_STRING_MAPPING(PseudoScrollbarThumb) | 117 DEFINE_STRING_MAPPING(PseudoScrollbarThumb) |
117 DEFINE_STRING_MAPPING(PseudoScrollbarTrack) | 118 DEFINE_STRING_MAPPING(PseudoScrollbarTrack) |
118 DEFINE_STRING_MAPPING(PseudoScrollbarTrackPiece) | 119 DEFINE_STRING_MAPPING(PseudoScrollbarTrackPiece) |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorTracingSessionIdForWor
kerEvent::data(const String& sessionId, int workerId, WorkerThread* workerThread
) | 671 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorTracingSessionIdForWor
kerEvent::data(const String& sessionId, int workerId, WorkerThread* workerThread
) |
671 { | 672 { |
672 RefPtr<TracedValue> value = TracedValue::create(); | 673 RefPtr<TracedValue> value = TracedValue::create(); |
673 value->setString("sessionId", sessionId); | 674 value->setString("sessionId", sessionId); |
674 value->setInteger("workerId", workerId); | 675 value->setInteger("workerId", workerId); |
675 value->setDouble("workerThreadId", workerThread->platformThreadId()); | 676 value->setDouble("workerThreadId", workerThread->platformThreadId()); |
676 return value.release(); | 677 return value.release(); |
677 } | 678 } |
678 | 679 |
679 } | 680 } |
OLD | NEW |