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

Unified Diff: content/common/throttling_url_loader.h

Issue 2982363002: Add support for fallback content for the frame. This includes main and subframes. (Closed)
Patch Set: rebase to tip Created 3 years, 5 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: content/common/throttling_url_loader.h
diff --git a/content/common/throttling_url_loader.h b/content/common/throttling_url_loader.h
index 9418e00c1cfcd4efef4fd0bdd99db4c94afb2748..e283386354ac58cbd345e05474673c35023a7788 100644
--- a/content/common/throttling_url_loader.h
+++ b/content/common/throttling_url_loader.h
@@ -70,6 +70,9 @@ class CONTENT_EXPORT ThrottlingURLLoader : public mojom::URLLoaderClient,
void FollowRedirect();
void SetPriority(net::RequestPriority priority, int32_t intra_priority_value);
+ // Disconnects the client connection and releases the URLLoader.
+ void DisconnectClient();
+
private:
ThrottlingURLLoader(
std::vector<std::unique_ptr<URLLoaderThrottle>> throttles,
@@ -122,7 +125,7 @@ class CONTENT_EXPORT ThrottlingURLLoader : public mojom::URLLoaderClient,
DEFERRED_RESPONSE
};
DeferredStage deferred_stage_ = DEFERRED_NONE;
- bool cancelled_by_throttle_ = false;
+ bool loader_cancelled_ = false;
std::unique_ptr<URLLoaderThrottle> throttle_;
« no previous file with comments | « content/browser/service_worker/service_worker_url_loader_job.cc ('k') | content/common/throttling_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698