Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h

Issue 2692653003: [Devtools] Added Enable/Disable for request blocking in network (Closed)
Patch Set: Merge branch 'master' of https://chromium.googlesource.com/chromium/src into ADD_ENABLE_DISABLE_REQ… Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 // Called from frontend 195 // Called from frontend
196 protocol::Response enable(Maybe<int> totalBufferSize, 196 protocol::Response enable(Maybe<int> totalBufferSize,
197 Maybe<int> resourceBufferSize) override; 197 Maybe<int> resourceBufferSize) override;
198 protocol::Response disable() override; 198 protocol::Response disable() override;
199 protocol::Response setUserAgentOverride(const String&) override; 199 protocol::Response setUserAgentOverride(const String&) override;
200 protocol::Response setExtraHTTPHeaders( 200 protocol::Response setExtraHTTPHeaders(
201 std::unique_ptr<protocol::Network::Headers>) override; 201 std::unique_ptr<protocol::Network::Headers>) override;
202 void getResponseBody(const String& requestId, 202 void getResponseBody(const String& requestId,
203 std::unique_ptr<GetResponseBodyCallback>) override; 203 std::unique_ptr<GetResponseBodyCallback>) override;
204 protocol::Response addBlockedURL(const String& url) override; 204 protocol::Response setBlockedURLs(
205 protocol::Response removeBlockedURL(const String& url) override; 205 std::unique_ptr<protocol::Array<String>> urls) override;
206 protocol::Response replayXHR(const String& requestId) override; 206 protocol::Response replayXHR(const String& requestId) override;
207 protocol::Response setMonitoringXHREnabled(bool) override; 207 protocol::Response setMonitoringXHREnabled(bool) override;
208 protocol::Response canClearBrowserCache(bool* result) override; 208 protocol::Response canClearBrowserCache(bool* result) override;
209 protocol::Response canClearBrowserCookies(bool* result) override; 209 protocol::Response canClearBrowserCookies(bool* result) override;
210 protocol::Response emulateNetworkConditions( 210 protocol::Response emulateNetworkConditions(
211 bool offline, 211 bool offline,
212 double latency, 212 double latency,
213 double downloadThroughput, 213 double downloadThroughput,
214 double uploadThroughput, 214 double uploadThroughput,
215 Maybe<String> connectionType) override; 215 Maybe<String> connectionType) override;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 HashSet<String> m_framesWithScheduledClientNavigation; 276 HashSet<String> m_framesWithScheduledClientNavigation;
277 277
278 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs; 278 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRs;
279 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted; 279 HeapHashSet<Member<XMLHttpRequest>> m_replayXHRsToBeDeleted;
280 TaskRunnerTimer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer; 280 TaskRunnerTimer<InspectorNetworkAgent> m_removeFinishedReplayXHRTimer;
281 }; 281 };
282 282
283 } // namespace blink 283 } // namespace blink
284 284
285 #endif // !defined(InspectorNetworkAgent_h) 285 #endif // !defined(InspectorNetworkAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698