Chromium Code Reviews| Index: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
| index 4aea37426fb1236811f67b9a40596b9fa7462ec3..b0353cd8d757dc786a452f2add2a4fbaf1fbeb48 100644 |
| --- a/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
| +++ b/third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp |
| @@ -678,6 +678,13 @@ PassOwnPtr<TracedValue> InspectorEvaluateScriptEvent::data(LocalFrame* frame, co |
| return value.release(); |
| } |
| +PassOwnPtr<TracedValue> InspectorParseScriptEvent::data(const String& url) |
|
caseq
2016/03/18 23:36:04
It would be nice to have some way to attribute the
horo
2016/03/23 07:06:05
I added requestId here.
But I don't know how to us
|
| +{ |
| + OwnPtr<TracedValue> value = TracedValue::create(); |
| + value->setString("url", url); |
| + return value.release(); |
| +} |
| + |
| PassOwnPtr<TracedValue> InspectorCompileScriptEvent::data(const String& url, const TextPosition& textPosition) |
| { |
| return fillLocation(url, textPosition); |