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

Unified Diff: third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.h

Issue 2706643002: DevTools: Move network request instrumentation points for timeline down the stack. (Closed)
Patch Set: . Created 3 years, 10 months 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 side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698