| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 DEFINE_STRING_MAPPING(PseudoNoButton) | 133 DEFINE_STRING_MAPPING(PseudoNoButton) |
| 134 DEFINE_STRING_MAPPING(PseudoSelection) | 134 DEFINE_STRING_MAPPING(PseudoSelection) |
| 135 DEFINE_STRING_MAPPING(PseudoLeftPage) | 135 DEFINE_STRING_MAPPING(PseudoLeftPage) |
| 136 DEFINE_STRING_MAPPING(PseudoRightPage) | 136 DEFINE_STRING_MAPPING(PseudoRightPage) |
| 137 DEFINE_STRING_MAPPING(PseudoFirstPage) | 137 DEFINE_STRING_MAPPING(PseudoFirstPage) |
| 138 DEFINE_STRING_MAPPING(PseudoFullScreen) | 138 DEFINE_STRING_MAPPING(PseudoFullScreen) |
| 139 DEFINE_STRING_MAPPING(PseudoFullScreenDocument) | 139 DEFINE_STRING_MAPPING(PseudoFullScreenDocument) |
| 140 DEFINE_STRING_MAPPING(PseudoFullScreenAncestor) | 140 DEFINE_STRING_MAPPING(PseudoFullScreenAncestor) |
| 141 DEFINE_STRING_MAPPING(PseudoInRange) | 141 DEFINE_STRING_MAPPING(PseudoInRange) |
| 142 DEFINE_STRING_MAPPING(PseudoOutOfRange) | 142 DEFINE_STRING_MAPPING(PseudoOutOfRange) |
| 143 DEFINE_STRING_MAPPING(PseudoUserAgentCustomElement) | |
| 144 DEFINE_STRING_MAPPING(PseudoWebKitCustomElement) | 143 DEFINE_STRING_MAPPING(PseudoWebKitCustomElement) |
| 145 DEFINE_STRING_MAPPING(PseudoCue) | 144 DEFINE_STRING_MAPPING(PseudoCue) |
| 146 DEFINE_STRING_MAPPING(PseudoFutureCue) | 145 DEFINE_STRING_MAPPING(PseudoFutureCue) |
| 147 DEFINE_STRING_MAPPING(PseudoPastCue) | 146 DEFINE_STRING_MAPPING(PseudoPastCue) |
| 148 DEFINE_STRING_MAPPING(PseudoUnresolved) | 147 DEFINE_STRING_MAPPING(PseudoUnresolved) |
| 149 DEFINE_STRING_MAPPING(PseudoContent) | 148 DEFINE_STRING_MAPPING(PseudoContent) |
| 150 DEFINE_STRING_MAPPING(PseudoHost) | 149 DEFINE_STRING_MAPPING(PseudoHost) |
| 151 DEFINE_STRING_MAPPING(PseudoHostContext) | 150 DEFINE_STRING_MAPPING(PseudoHostContext) |
| 152 DEFINE_STRING_MAPPING(PseudoShadow) | 151 DEFINE_STRING_MAPPING(PseudoShadow) |
| 153 DEFINE_STRING_MAPPING(PseudoSpatialNavigationFocus) | 152 DEFINE_STRING_MAPPING(PseudoSpatialNavigationFocus) |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 607 | 606 |
| 608 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorTracingSessionIdForWor
kerEvent::data(const String& sessionId, WorkerThread* workerThread) | 607 PassRefPtr<TraceEvent::ConvertableToTraceFormat> InspectorTracingSessionIdForWor
kerEvent::data(const String& sessionId, WorkerThread* workerThread) |
| 609 { | 608 { |
| 610 RefPtr<TracedValue> value = TracedValue::create(); | 609 RefPtr<TracedValue> value = TracedValue::create(); |
| 611 value->setString("sessionId", sessionId); | 610 value->setString("sessionId", sessionId); |
| 612 value->setDouble("workerThreadId", workerThread->platformThreadId()); | 611 value->setDouble("workerThreadId", workerThread->platformThreadId()); |
| 613 return value.release(); | 612 return value.release(); |
| 614 } | 613 } |
| 615 | 614 |
| 616 } | 615 } |
| OLD | NEW |