OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 } | 74 } |
75 | 75 |
76 void restore() override; | 76 void restore() override; |
77 | 77 |
78 ~InspectorNetworkAgent() override; | 78 ~InspectorNetworkAgent() override; |
79 DECLARE_VIRTUAL_TRACE(); | 79 DECLARE_VIRTUAL_TRACE(); |
80 | 80 |
81 // Called from instrumentation. | 81 // Called from instrumentation. |
82 void didBlockRequest(LocalFrame*, const ResourceRequest&, DocumentLoader*, c
onst FetchInitiatorInfo&, ResourceRequestBlockedReason); | 82 void didBlockRequest(LocalFrame*, const ResourceRequest&, DocumentLoader*, c
onst FetchInitiatorInfo&, ResourceRequestBlockedReason); |
83 void didChangeResourcePriority(unsigned long identifier, ResourceLoadPriorit
y); | 83 void didChangeResourcePriority(unsigned long identifier, ResourceLoadPriorit
y); |
84 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*,
ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato
rInfo&); | 84 void prepareRequest(DocumentLoader*, ResourceRequest&); |
| 85 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*,
const ResourceRequest&, const ResourceResponse& redirectResponse, const FetchIn
itiatorInfo&); |
85 void markResourceAsCached(unsigned long identifier); | 86 void markResourceAsCached(unsigned long identifier); |
86 void didReceiveResourceResponse(LocalFrame*, unsigned long identifier, Docum
entLoader*, const ResourceResponse&, Resource*); | 87 void didReceiveResourceResponse(LocalFrame*, unsigned long identifier, Docum
entLoader*, const ResourceResponse&, Resource*); |
87 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data,
int dataLength, int encodedDataLength); | 88 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data,
int dataLength, int encodedDataLength); |
88 void didFinishLoading(unsigned long identifier, double monotonicFinishTime,
int64_t encodedDataLength); | 89 void didFinishLoading(unsigned long identifier, double monotonicFinishTime,
int64_t encodedDataLength); |
89 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D
ocumentLoader*, const ResourceResponse&, Resource*); | 90 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D
ocumentLoader*, const ResourceResponse&, Resource*); |
90 void didFailLoading(unsigned long identifier, const ResourceError&); | 91 void didFailLoading(unsigned long identifier, const ResourceError&); |
91 void didCommitLoad(LocalFrame*, DocumentLoader*); | 92 void didCommitLoad(LocalFrame*, DocumentLoader*); |
92 void scriptImported(unsigned long identifier, const String& sourceString); | 93 void scriptImported(unsigned long identifier, const String& sourceString); |
93 void didReceiveScriptResponse(unsigned long identifier); | 94 void didReceiveScriptResponse(unsigned long identifier); |
94 bool shouldForceCORSPreflight(); | 95 bool shouldForceCORSPreflight(); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 | 190 |
190 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; | 191 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; |
191 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; | 192 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; |
192 Timer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; | 193 Timer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; |
193 }; | 194 }; |
194 | 195 |
195 } // namespace blink | 196 } // namespace blink |
196 | 197 |
197 | 198 |
198 #endif // !defined(InspectorNetworkAgent_h) | 199 #endif // !defined(InspectorNetworkAgent_h) |
OLD | NEW |