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(unsigned long identifier, |
81 unsigned long identifier, | |
82 DocumentLoader*, | 81 DocumentLoader*, |
83 ResourceRequest&, | 82 ResourceRequest&, |
84 const ResourceResponse& redirect_response, | 83 const ResourceResponse& redirect_response, |
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 data_length); | 92 int data_length); |
95 void DidFinishLoading(LocalFrame*, | 93 void DidFinishLoading(unsigned long identifier, |
96 unsigned long identifier, | 94 DocumentLoader*, |
97 double monotonic_finish_time, | 95 double monotonic_finish_time, |
98 int64_t encoded_data_length, | 96 int64_t encoded_data_length, |
99 int64_t decoded_body_length); | 97 int64_t decoded_body_length); |
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 |