Index: third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.h |
diff --git a/third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.h b/third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7d94a8585779ec48b78a329342fdafec3de39024 |
--- /dev/null |
+++ b/third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.h |
@@ -0,0 +1,35 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef PlatformInspectorTraceEvents_h |
+#define PlatformInspectorTraceEvents_h |
+ |
+#include "platform/PlatformExport.h" |
+#include "platform/instrumentation/tracing/TraceEvent.h" |
+#include "platform/instrumentation/tracing/TracedValue.h" |
+#include "wtf/Forward.h" |
+ |
+namespace blink { |
+class ResourceResponse; |
+ |
+namespace InspectorReceiveResponseEvent { |
+PLATFORM_EXPORT std::unique_ptr<TracedValue> data(unsigned long identifier, |
+ const ResourceResponse&); |
+} |
+ |
+namespace InspectorReceiveDataEvent { |
+PLATFORM_EXPORT std::unique_ptr<TracedValue> data(unsigned long identifier, |
+ int encodedDataLength); |
+} |
+ |
+namespace InspectorResourceFinishEvent { |
+PLATFORM_EXPORT std::unique_ptr<TracedValue> data(unsigned long identifier, |
+ double finishTime, |
+ bool didFail, |
+ int64_t encodedDataLength); |
+} |
+ |
+} // namespace blink |
+ |
+#endif // !defined(PlatformInspectorTraceEvents_h) |