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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h

Issue 2692653003: [Devtools] Added Enable/Disable for request blocking in network (Closed)
Patch Set: changes 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 71f498e0e04239a108b690577d09944f5fa9e3ed..236ccb6d186fb2b18b85eae87f699fdf28c893f0 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -200,8 +200,8 @@ class CORE_EXPORT InspectorNetworkAgent final
std::unique_ptr<protocol::Network::Headers>) override;
void getResponseBody(const String& requestId,
std::unique_ptr<GetResponseBodyCallback>) override;
- Response addBlockedURL(const String& url) override;
- Response removeBlockedURL(const String& url) override;
+ Response setBlockedURLs(
+ std::unique_ptr<protocol::Array<String>> urls) override;
Response replayXHR(const String& requestId) override;
Response setMonitoringXHREnabled(bool) override;
Response canClearBrowserCache(bool* result) override;

Powered by Google App Engine
This is Rietveld 408576698