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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
index dff48c75062943cc76cf1b34117d3cb577afaf8a..8b7ab5a030195974819c3c984992f5bfdf9904ca 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -201,8 +201,8 @@ class CORE_EXPORT InspectorNetworkAgent final
std::unique_ptr<protocol::Network::Headers>) override;
void getResponseBody(const String& requestId,
std::unique_ptr<GetResponseBodyCallback>) override;
- protocol::Response addBlockedURL(const String& url) override;
- protocol::Response removeBlockedURL(const String& url) override;
+ protocol::Response setBlockedURLs(
+ std::unique_ptr<protocol::Array<String>> urls) override;
protocol::Response replayXHR(const String& requestId) override;
protocol::Response setMonitoringXHREnabled(bool) override;
protocol::Response canClearBrowserCache(bool* result) override;

Powered by Google App Engine
This is Rietveld 408576698