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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 | 193 |
194 // Called from frontend | 194 // Called from frontend |
195 Response enable(Maybe<int> totalBufferSize, | 195 Response enable(Maybe<int> totalBufferSize, |
196 Maybe<int> resourceBufferSize) override; | 196 Maybe<int> resourceBufferSize) override; |
197 Response disable() override; | 197 Response disable() override; |
198 Response setUserAgentOverride(const String&) override; | 198 Response setUserAgentOverride(const String&) override; |
199 Response setExtraHTTPHeaders( | 199 Response setExtraHTTPHeaders( |
200 std::unique_ptr<protocol::Network::Headers>) override; | 200 std::unique_ptr<protocol::Network::Headers>) override; |
201 void getResponseBody(const String& requestId, | 201 void getResponseBody(const String& requestId, |
202 std::unique_ptr<GetResponseBodyCallback>) override; | 202 std::unique_ptr<GetResponseBodyCallback>) override; |
203 Response addBlockedURL(const String& url) override; | 203 Response setBlockedURLs( |
204 Response removeBlockedURL(const String& url) override; | 204 std::unique_ptr<protocol::Array<String>> urls) override; |
205 Response replayXHR(const String& requestId) override; | 205 Response replayXHR(const String& requestId) override; |
206 Response setMonitoringXHREnabled(bool) override; | 206 Response setMonitoringXHREnabled(bool) override; |
207 Response canClearBrowserCache(bool* result) override; | 207 Response canClearBrowserCache(bool* result) override; |
208 Response canClearBrowserCookies(bool* result) override; | 208 Response canClearBrowserCookies(bool* result) override; |
209 Response emulateNetworkConditions(bool offline, | 209 Response emulateNetworkConditions(bool offline, |
210 double latency, | 210 double latency, |
211 double downloadThroughput, | 211 double downloadThroughput, |
212 double uploadThroughput, | 212 double uploadThroughput, |
213 Maybe<String> connectionType) override; | 213 Maybe<String> connectionType) override; |
214 Response setCacheDisabled(bool) override; | 214 Response setCacheDisabled(bool) override; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 HashSet<String> m_framesWithScheduledClientNavigation; | 274 HashSet<String> m_framesWithScheduledClientNavigation; |
275 | 275 |
276 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; | 276 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; |
277 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; | 277 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; |
278 TaskRunnerTimer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; | 278 TaskRunnerTimer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; |
279 }; | 279 }; |
280 | 280 |
281 } // namespace blink | 281 } // namespace blink |
282 | 282 |
283 #endif // !defined(InspectorNetworkAgent_h) | 283 #endif // !defined(InspectorNetworkAgent_h) |
OLD | NEW |