| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 return adoptPtrWillBeNoop(new InspectorResourceAgent(pageAgent)); | 76 return adoptPtrWillBeNoop(new InspectorResourceAgent(pageAgent)); |
| 77 } | 77 } |
| 78 | 78 |
| 79 void disable(ErrorString*) override; | 79 void disable(ErrorString*) override; |
| 80 void restore() override; | 80 void restore() override; |
| 81 | 81 |
| 82 ~InspectorResourceAgent() override; | 82 ~InspectorResourceAgent() override; |
| 83 DECLARE_VIRTUAL_TRACE(); | 83 DECLARE_VIRTUAL_TRACE(); |
| 84 | 84 |
| 85 // Called from instrumentation. | 85 // Called from instrumentation. |
| 86 void willSendRequest(unsigned long identifier, DocumentLoader*, ResourceRequ
est&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); | 86 void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*,
ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiato
rInfo&); |
| 87 void markResourceAsCached(unsigned long identifier); | 87 void markResourceAsCached(unsigned long identifier); |
| 88 void didReceiveResourceResponse(LocalFrame*, unsigned long identifier, Docum
entLoader*, const ResourceResponse&, ResourceLoader*); | 88 void didReceiveResourceResponse(LocalFrame*, unsigned long identifier, Docum
entLoader*, const ResourceResponse&, ResourceLoader*); |
| 89 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data,
int dataLength, int encodedDataLength); | 89 void didReceiveData(LocalFrame*, unsigned long identifier, const char* data,
int dataLength, int encodedDataLength); |
| 90 void didFinishLoading(unsigned long identifier, double monotonicFinishTime,
int64_t encodedDataLength); | 90 void didFinishLoading(unsigned long identifier, double monotonicFinishTime,
int64_t encodedDataLength); |
| 91 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D
ocumentLoader*, const ResourceResponse&, ResourceLoader*); | 91 void didReceiveCORSRedirectResponse(LocalFrame*, unsigned long identifier, D
ocumentLoader*, const ResourceResponse&, ResourceLoader*); |
| 92 void didFailLoading(unsigned long identifier, const ResourceError&); | 92 void didFailLoading(unsigned long identifier, const ResourceError&); |
| 93 void didCommitLoad(LocalFrame*, DocumentLoader*); | 93 void didCommitLoad(LocalFrame*, DocumentLoader*); |
| 94 void scriptImported(unsigned long identifier, const String& sourceString); | 94 void scriptImported(unsigned long identifier, const String& sourceString); |
| 95 void didReceiveScriptResponse(unsigned long identifier); | 95 void didReceiveScriptResponse(unsigned long identifier); |
| 96 bool shouldForceCORSPreflight(); | 96 bool shouldForceCORSPreflight(); |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 185 |
| 186 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; | 186 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; |
| 187 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRsT
oBeDeleted; | 187 PersistentHeapHashSetWillBeHeapHashSet<Member<XMLHttpRequest>> m_replayXHRsT
oBeDeleted; |
| 188 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer; | 188 Timer<InspectorResourceAgent> m_removeFinishedReplayXHRTimer; |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 } // namespace blink | 191 } // namespace blink |
| 192 | 192 |
| 193 | 193 |
| 194 #endif // !defined(InspectorResourceAgent_h) | 194 #endif // !defined(InspectorResourceAgent_h) |
| OLD | NEW |