| 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 #ifndef InspectorTraceEvents_h | 5 #ifndef InspectorTraceEvents_h |
| 6 #define InspectorTraceEvents_h | 6 #define InspectorTraceEvents_h |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 WTF_MAKE_NONCOPYABLE(InspectorTraceEvents); | 70 WTF_MAKE_NONCOPYABLE(InspectorTraceEvents); |
| 71 | 71 |
| 72 public: | 72 public: |
| 73 InspectorTraceEvents() {} | 73 InspectorTraceEvents() {} |
| 74 | 74 |
| 75 void init(CoreProbeSink*, | 75 void init(CoreProbeSink*, |
| 76 protocol::UberDispatcher*, | 76 protocol::UberDispatcher*, |
| 77 protocol::DictionaryValue*) override; | 77 protocol::DictionaryValue*) override; |
| 78 void dispose() override; | 78 void dispose() override; |
| 79 | 79 |
| 80 void willSendRequest(LocalFrame*, | 80 void willSendRequest(unsigned long identifier, |
| 81 unsigned long identifier, | |
| 82 DocumentLoader*, | 81 DocumentLoader*, |
| 83 ResourceRequest&, | 82 ResourceRequest&, |
| 84 const ResourceResponse& redirectResponse, | 83 const ResourceResponse& redirectResponse, |
| 85 const FetchInitiatorInfo&); | 84 const FetchInitiatorInfo&); |
| 86 void didReceiveResourceResponse(LocalFrame*, | 85 void didReceiveResourceResponse(unsigned long identifier, |
| 87 unsigned long identifier, | |
| 88 DocumentLoader*, | 86 DocumentLoader*, |
| 89 const ResourceResponse&, | 87 const ResourceResponse&, |
| 90 Resource*); | 88 Resource*); |
| 91 void didReceiveData(LocalFrame*, | 89 void didReceiveData(unsigned long identifier, |
| 92 unsigned long identifier, | 90 DocumentLoader*, |
| 93 const char* data, | 91 const char* data, |
| 94 int dataLength); | 92 int dataLength); |
| 95 void didFinishLoading(LocalFrame*, | 93 void didFinishLoading(unsigned long identifier, |
| 96 unsigned long identifier, | 94 DocumentLoader*, |
| 97 double monotonicFinishTime, | 95 double monotonicFinishTime, |
| 98 int64_t encodedDataLength, | 96 int64_t encodedDataLength, |
| 99 int64_t decodedBodyLength); | 97 int64_t decodedBodyLength); |
| 100 void didFailLoading(unsigned long identifier, const ResourceError&); | 98 void didFailLoading(unsigned long identifier, const ResourceError&); |
| 101 | 99 |
| 102 void will(const probe::ExecuteScript&); | 100 void will(const probe::ExecuteScript&); |
| 103 void did(const probe::ExecuteScript&); | 101 void did(const probe::ExecuteScript&); |
| 104 | 102 |
| 105 void will(const probe::ParseHTML&); | 103 void will(const probe::ParseHTML&); |
| 106 void did(const probe::ParseHTML&); | 104 void did(const probe::ParseHTML&); |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 namespace InspectorAsyncTask { | 440 namespace InspectorAsyncTask { |
| 443 std::unique_ptr<TracedValue> data(const String&); | 441 std::unique_ptr<TracedValue> data(const String&); |
| 444 } | 442 } |
| 445 | 443 |
| 446 CORE_EXPORT String toHexString(const void* p); | 444 CORE_EXPORT String toHexString(const void* p); |
| 447 CORE_EXPORT void setCallStack(TracedValue*); | 445 CORE_EXPORT void setCallStack(TracedValue*); |
| 448 | 446 |
| 449 } // namespace blink | 447 } // namespace blink |
| 450 | 448 |
| 451 #endif // !defined(InspectorTraceEvents_h) | 449 #endif // !defined(InspectorTraceEvents_h) |
| OLD | NEW |