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

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

Issue 2739323003: DevTools protocol interception, blocking & modification of requests (Closed)
Patch Set: Fix 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..47b734f17c9e8e166fcaaab5976cfbce280934fd 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,26 @@ SDK.NetworkDispatcher = class {
}
/**
+ * @override
+ * @param {!Protocol.Network.RequestId} requestId
+ * @param {!Protocol.Network.Request} request
+ */
+ interceptedRequest(requestId, request) {
+ // Stub implementation. Event not currently used by the frontend.
+ }
+
+ /**
+ * @override
+ * @param {!Protocol.Network.RequestId} requestId
+ * @param {!Protocol.Network.Headers} responseHeaders
+ * @param {number} responseStatusCode
+ * @param {string} redirectUrl
+ */
+ interceptedRedirect(requestId, responseHeaders, responseStatusCode, 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