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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 197 |
198 // Called from frontend | 198 // Called from frontend |
199 Response enable(Maybe<int> totalBufferSize, | 199 Response enable(Maybe<int> totalBufferSize, |
200 Maybe<int> resourceBufferSize) override; | 200 Maybe<int> resourceBufferSize) override; |
201 Response disable() override; | 201 Response disable() override; |
202 Response setUserAgentOverride(const String&) override; | 202 Response setUserAgentOverride(const String&) override; |
203 Response setExtraHTTPHeaders( | 203 Response setExtraHTTPHeaders( |
204 std::unique_ptr<protocol::Network::Headers>) override; | 204 std::unique_ptr<protocol::Network::Headers>) override; |
205 void getResponseBody(const String& requestId, | 205 void getResponseBody(const String& requestId, |
206 std::unique_ptr<GetResponseBodyCallback>) override; | 206 std::unique_ptr<GetResponseBodyCallback>) override; |
207 Response addBlockedURL(const String& url) override; | 207 Response setBlockedURLs( |
208 Response removeBlockedURL(const String& url) override; | 208 std::unique_ptr<protocol::Array<String>> urls) override; |
209 Response replayXHR(const String& requestId) override; | 209 Response replayXHR(const String& requestId) override; |
210 Response setMonitoringXHREnabled(bool) override; | 210 Response setMonitoringXHREnabled(bool) override; |
211 Response canClearBrowserCache(bool* result) override; | 211 Response canClearBrowserCache(bool* result) override; |
212 Response canClearBrowserCookies(bool* result) override; | 212 Response canClearBrowserCookies(bool* result) override; |
213 Response emulateNetworkConditions(bool offline, | 213 Response emulateNetworkConditions(bool offline, |
214 double latency, | 214 double latency, |
215 double downloadThroughput, | 215 double downloadThroughput, |
216 double uploadThroughput, | 216 double uploadThroughput, |
217 Maybe<String> connectionType) override; | 217 Maybe<String> connectionType) override; |
218 Response setCacheDisabled(bool) override; | 218 Response setCacheDisabled(bool) override; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 bool m_isRecalculatingStyle; | 281 bool m_isRecalculatingStyle; |
282 | 282 |
283 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; | 283 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; |
284 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; | 284 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; |
285 TaskRunnerTimer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; | 285 TaskRunnerTimer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; |
286 }; | 286 }; |
287 | 287 |
288 } // namespace blink | 288 } // namespace blink |
289 | 289 |
290 #endif // !defined(InspectorNetworkAgent_h) | 290 #endif // !defined(InspectorNetworkAgent_h) |
OLD | NEW |