OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PlatformInspectorTraceEvents_h |
| 6 #define PlatformInspectorTraceEvents_h |
| 7 |
| 8 #include "platform/PlatformExport.h" |
| 9 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 10 #include "platform/instrumentation/tracing/TracedValue.h" |
| 11 #include "wtf/Forward.h" |
| 12 |
| 13 namespace blink { |
| 14 class ResourceResponse; |
| 15 |
| 16 namespace InspectorReceiveResponseEvent { |
| 17 PLATFORM_EXPORT std::unique_ptr<TracedValue> data(unsigned long identifier, |
| 18 const ResourceResponse&); |
| 19 } |
| 20 |
| 21 namespace InspectorReceiveDataEvent { |
| 22 PLATFORM_EXPORT std::unique_ptr<TracedValue> data(unsigned long identifier, |
| 23 int encodedDataLength); |
| 24 } |
| 25 |
| 26 namespace InspectorResourceFinishEvent { |
| 27 PLATFORM_EXPORT std::unique_ptr<TracedValue> data(unsigned long identifier, |
| 28 double finishTime, |
| 29 bool didFail, |
| 30 int64_t encodedDataLength); |
| 31 } |
| 32 |
| 33 } // namespace blink |
| 34 |
| 35 #endif // !defined(PlatformInspectorTraceEvents_h) |
OLD | NEW |