| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 68 class CORE_EXPORT InspectorTraceEvents : public InspectorAgent { | 68 class CORE_EXPORT InspectorTraceEvents : public InspectorAgent { | 
| 69   WTF_MAKE_NONCOPYABLE(InspectorTraceEvents); | 69   WTF_MAKE_NONCOPYABLE(InspectorTraceEvents); | 
| 70 | 70 | 
| 71  public: | 71  public: | 
| 72   InspectorTraceEvents() {} | 72   InspectorTraceEvents() {} | 
| 73 | 73 | 
| 74   void Init(CoreProbeSink*, | 74   void Init(CoreProbeSink*, | 
| 75             protocol::UberDispatcher*, | 75             protocol::UberDispatcher*, | 
| 76             protocol::DictionaryValue*) override; | 76             protocol::DictionaryValue*) override; | 
| 77   void Dispose() override; | 77   void Dispose() override; | 
| 78 | 78   void WillSendRequest(ExecutionContext*, | 
| 79   void WillSendRequest(LocalFrame*, |  | 
| 80                        unsigned long identifier, | 79                        unsigned long identifier, | 
| 81                        DocumentLoader*, | 80                        DocumentLoader*, | 
| 82                        ResourceRequest&, | 81                        ResourceRequest&, | 
| 83                        const ResourceResponse& redirect_response, | 82                        const ResourceResponse& redirect_response, | 
| 84                        const FetchInitiatorInfo&); | 83                        const FetchInitiatorInfo&); | 
| 85   void DidReceiveResourceResponse(LocalFrame*, | 84   void DidReceiveResourceResponse(unsigned long identifier, | 
| 86                                   unsigned long identifier, |  | 
| 87                                   DocumentLoader*, | 85                                   DocumentLoader*, | 
| 88                                   const ResourceResponse&, | 86                                   const ResourceResponse&, | 
| 89                                   Resource*); | 87                                   Resource*); | 
| 90   void DidReceiveData(LocalFrame*, | 88   void DidReceiveData(unsigned long identifier, | 
| 91                       unsigned long identifier, | 89                       DocumentLoader*, | 
| 92                       const char* data, | 90                       const char* data, | 
| 93                       int data_length); | 91                       int data_length); | 
| 94   void DidFinishLoading(LocalFrame*, | 92   void DidFinishLoading(unsigned long identifier, | 
| 95                         unsigned long identifier, | 93                         DocumentLoader*, | 
| 96                         double monotonic_finish_time, | 94                         double monotonic_finish_time, | 
| 97                         int64_t encoded_data_length, | 95                         int64_t encoded_data_length, | 
| 98                         int64_t decoded_body_length); | 96                         int64_t decoded_body_length); | 
| 99   void DidFailLoading(unsigned long identifier, const ResourceError&); | 97   void DidFailLoading(unsigned long identifier, const ResourceError&); | 
| 100 | 98 | 
| 101   void Will(const probe::ExecuteScript&); | 99   void Will(const probe::ExecuteScript&); | 
| 102   void Did(const probe::ExecuteScript&); | 100   void Did(const probe::ExecuteScript&); | 
| 103 | 101 | 
| 104   void Will(const probe::ParseHTML&); | 102   void Will(const probe::ParseHTML&); | 
| 105   void Did(const probe::ParseHTML&); | 103   void Did(const probe::ParseHTML&); | 
| (...skipping 336 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 | 
|---|