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

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

Issue 2703603003: [Devtools] Changed protocol to use setBlockedURLs instead of add/remove (Closed)
Patch Set: changes Created 3 years, 10 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 68b332fa7b4f93af0cf9938f8f20ffa6a8772319..9939a50c10c76d69dcf4e9ca574d7df2b09ed7d9 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.h
@@ -204,8 +204,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