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

Unified Diff: content/browser/loader/mojo_async_resource_handler.h

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
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/mojo_async_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/mojo_async_resource_handler.h
diff --git a/content/browser/loader/mojo_async_resource_handler.h b/content/browser/loader/mojo_async_resource_handler.h
index a973db996c5b2b6e97dd15ecfb64c5e135216405..9edd9db10f9499b318448b24564ec34cf1e79250 100644
--- a/content/browser/loader/mojo_async_resource_handler.h
+++ b/content/browser/loader/mojo_async_resource_handler.h
@@ -66,7 +66,6 @@ class CONTENT_EXPORT MojoAsyncResourceHandler
// mojom::URLLoader implementation
void FollowRedirect() override;
- void Cancel() override;
void ResumeForTesting();
static void SetAllocationSizeForTesting(size_t size);
@@ -94,6 +93,7 @@ class CONTENT_EXPORT MojoAsyncResourceHandler
void OnDefer();
bool CheckForSufficientResource();
void OnWritable(MojoResult result);
+ void Cancel();
ResourceDispatcherHostImpl* rdh_;
mojo::AssociatedBinding<mojom::URLLoader> binding_;
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/mojo_async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698