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

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

Issue 2739323003: DevTools protocol interception, blocking & modification of requests (Closed)
Patch Set: Address remaining TODOs 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
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 beaefd455791c983a89cefcdf300ecf5f9fdc757..15f09234a42b73043a5a60ccce84a794e00fe3e9 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/NetworkManager.js
@@ -585,6 +585,18 @@ SDK.NetworkDispatcher = class {
}
/**
+ * @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
* @param {string} redirectURL

Powered by Google App Engine
This is Rietveld 408576698