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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 Response getCertificate( | 220 Response getCertificate( |
221 const String& origin, | 221 const String& origin, |
222 std::unique_ptr<protocol::Array<String>>* certificate) override; | 222 std::unique_ptr<protocol::Array<String>>* certificate) override; |
223 | 223 |
224 // Called from other agents. | 224 // Called from other agents. |
225 void setHostId(const String&); | 225 void setHostId(const String&); |
226 bool fetchResourceContent(Document*, | 226 bool fetchResourceContent(Document*, |
227 const KURL&, | 227 const KURL&, |
228 String* content, | 228 String* content, |
229 bool* base64Encoded); | 229 bool* base64Encoded); |
| 230 bool cacheDisabled(); |
230 | 231 |
231 private: | 232 private: |
232 explicit InspectorNetworkAgent(InspectedFrames*); | 233 explicit InspectorNetworkAgent(InspectedFrames*); |
233 | 234 |
234 void enable(int totalBufferSize, int resourceBufferSize); | 235 void enable(int totalBufferSize, int resourceBufferSize); |
235 void willSendRequestInternal(LocalFrame*, | 236 void willSendRequestInternal(LocalFrame*, |
236 unsigned long identifier, | 237 unsigned long identifier, |
237 DocumentLoader*, | 238 DocumentLoader*, |
238 const ResourceRequest&, | 239 const ResourceRequest&, |
239 const ResourceResponse& redirectResponse, | 240 const ResourceResponse& redirectResponse, |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 bool m_isRecalculatingStyle; | 279 bool m_isRecalculatingStyle; |
279 | 280 |
280 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; | 281 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; |
281 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; | 282 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; |
282 Timer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; | 283 Timer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; |
283 }; | 284 }; |
284 | 285 |
285 } // namespace blink | 286 } // namespace blink |
286 | 287 |
287 #endif // !defined(InspectorNetworkAgent_h) | 288 #endif // !defined(InspectorNetworkAgent_h) |
OLD | NEW |