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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js

Issue 2739323003: DevTools protocol interception, blocking & modification of requests (Closed)
Patch Set: Add a comment Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/inspector/inspector_protocol_config.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js
index 1e4f6d7d13d906c0594b27cd48de7501ddcf3c7a..4e42bc3f5857b4d16ba8ed0e7d5c6984f38b2e41 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js
@@ -600,6 +600,18 @@ SDK.NetworkDispatcher = class {
networkRequest.addEventSourceMessage(time, eventName, eventId, data);
}
+ /**
+ * @override
+ * @param {!Protocol.Network.RequestId} requestId
+ * @param {!Protocol.Network.Request} request
+ * @param {!Protocol.Network.Headers=} redirectHeaders
+ * @param {number=} redirectStatusCode
+ * @param {string=} redirectUrl
+ */
+ requestIntercepted(requestId, request, redirectHeaders, redirectStatusCode, redirectUrl) {
+ // Stub implementation. Event not currently used by the frontend.
+ }
+
/**
* @param {!Protocol.Network.RequestId} requestId
* @param {!Protocol.Network.Timestamp} time
« no previous file with comments | « third_party/WebKit/Source/core/inspector/inspector_protocol_config.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698