| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 class CORE_EXPORT InspectorTraceEvents : public InspectorAgent { | 69 class CORE_EXPORT InspectorTraceEvents : public InspectorAgent { |
| 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 void LoadEventFired(LocalFrame*); |
| 80 void WillSendRequest(LocalFrame*, | 80 void WillSendRequest(ExecutionContext*, |
| 81 unsigned long identifier, | 81 unsigned long identifier, |
| 82 DocumentLoader*, | 82 DocumentLoader*, |
| 83 ResourceRequest&, | 83 ResourceRequest&, |
| 84 const ResourceResponse& redirect_response, | 84 const ResourceResponse& redirect_response, |
| 85 const FetchInitiatorInfo&); | 85 const FetchInitiatorInfo&); |
| 86 void DidReceiveResourceResponse(LocalFrame*, | 86 void DidReceiveResourceResponse(unsigned long identifier, |
| 87 unsigned long identifier, | |
| 88 DocumentLoader*, | 87 DocumentLoader*, |
| 89 const ResourceResponse&, | 88 const ResourceResponse&, |
| 90 Resource*); | 89 Resource*); |
| 91 void DidReceiveData(LocalFrame*, | 90 void DidReceiveData(unsigned long identifier, |
| 92 unsigned long identifier, | 91 DocumentLoader*, |
| 93 const char* data, | 92 const char* data, |
| 94 int data_length); | 93 int data_length); |
| 95 void DidFinishLoading(LocalFrame*, | 94 void DidFinishLoading(unsigned long identifier, |
| 96 unsigned long identifier, | 95 DocumentLoader*, |
| 97 double monotonic_finish_time, | 96 double monotonic_finish_time, |
| 98 int64_t encoded_data_length, | 97 int64_t encoded_data_length, |
| 99 int64_t decoded_body_length); | 98 int64_t decoded_body_length); |
| 100 void DidFailLoading(unsigned long identifier, const ResourceError&); | 99 void DidFailLoading(unsigned long identifier, const ResourceError&); |
| 101 | 100 |
| 102 void Will(const probe::ExecuteScript&); | 101 void Will(const probe::ExecuteScript&); |
| 103 void Did(const probe::ExecuteScript&); | 102 void Did(const probe::ExecuteScript&); |
| 104 | 103 |
| 105 void Will(const probe::ParseHTML&); | 104 void Will(const probe::ParseHTML&); |
| 106 void Did(const probe::ParseHTML&); | 105 void Did(const probe::ParseHTML&); |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 namespace InspectorAsyncTask { | 441 namespace InspectorAsyncTask { |
| 443 std::unique_ptr<TracedValue> Data(const String&); | 442 std::unique_ptr<TracedValue> Data(const String&); |
| 444 } | 443 } |
| 445 | 444 |
| 446 CORE_EXPORT String ToHexString(const void* p); | 445 CORE_EXPORT String ToHexString(const void* p); |
| 447 CORE_EXPORT void SetCallStack(TracedValue*); | 446 CORE_EXPORT void SetCallStack(TracedValue*); |
| 448 | 447 |
| 449 } // namespace blink | 448 } // namespace blink |
| 450 | 449 |
| 451 #endif // !defined(InspectorTraceEvents_h) | 450 #endif // !defined(InspectorTraceEvents_h) |
| OLD | NEW |