Commit 68fb37b7 authored by Matt Falkenhagen's avatar Matt Falkenhagen Committed by Commit Bot

Documentation: Mention workers in ResourceFetcher.

It's used by workers too.

Change-Id: Ibb274557d08fff00c7e2f88e58a501ecaaf776d4
Reviewed-on: https://chromium-review.googlesource.com/1143049Reviewed-by: default avatarYutaka Hirano <yhirano@chromium.org>
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#576415}
parent dbd5984e
......@@ -56,10 +56,14 @@ class ResourceTimingInfo;
// enforces a bunch of security checks and rules for resource revalidation. Its
// lifetime is roughly per-DocumentLoader, in that it is generally created in
// the DocumentLoader constructor and loses its ability to generate network
// requests when the DocumentLoader is destroyed. Documents also hold a pointer
// to ResourceFetcher for their lifetime (and will create one if they are
// initialized without a LocalFrame), so a Document can keep a ResourceFetcher
// alive past detach if scripts still reference the Document.
// requests when the DocumentLoader is destroyed.
//
// It is also created for workers and worklets.
//
// Documents also hold a pointer to ResourceFetcher for their lifetime (and will
// create one if they are initialized without a LocalFrame), so a Document can
// keep a ResourceFetcher alive past detach if scripts still reference the
// Document.
class PLATFORM_EXPORT ResourceFetcher
: public GarbageCollectedFinalized<ResourceFetcher> {
WTF_MAKE_NONCOPYABLE(ResourceFetcher);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment