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

Unified Diff: content/common/url_loader.mojom

Issue 2466843002: Cancel the request when URLLoader is gone (Closed)
Patch Set: fix Created 4 years, 1 month 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: content/common/url_loader.mojom
diff --git a/content/common/url_loader.mojom b/content/common/url_loader.mojom
index bdb72581d55bdde987884480169cbdd3ff2fd151..9d99f47bb80e99d176e5a0947233c750e2188f69 100644
--- a/content/common/url_loader.mojom
+++ b/content/common/url_loader.mojom
@@ -18,11 +18,6 @@ interface URLLoader {
// then upon receiving an URLResponse with a non-NULL |redirect_url| field,
// |FollowRedirect| may be called to load the URL indicated by the redirect.
FollowRedirect();
-
- // Cancels the request. The service will cancel loading, but there may be some
- // time lag and it is possible that the client gets some notification after
- // calling this method for a while.
- Cancel();
};
interface URLLoaderClient {

Powered by Google App Engine
This is Rietveld 408576698