summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/loader/child_url_loader_factory_bundle.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/renderer/loader/child_url_loader_factory_bundle.h')
-rw-r--r--chromium/content/renderer/loader/child_url_loader_factory_bundle.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/content/renderer/loader/child_url_loader_factory_bundle.h b/chromium/content/renderer/loader/child_url_loader_factory_bundle.h
index 922cca480bb..cb613cbc247 100644
--- a/chromium/content/renderer/loader/child_url_loader_factory_bundle.h
+++ b/chromium/content/renderer/loader/child_url_loader_factory_bundle.h
@@ -83,6 +83,11 @@ class CONTENT_EXPORT ChildURLLoaderFactoryBundle
std::unique_ptr<network::SharedURLLoaderFactoryInfo> Clone() override;
+ // Returns an info that omits this bundle's default factory, if any. This is
+ // useful to make a clone that bypasses AppCache, for example.
+ std::unique_ptr<network::SharedURLLoaderFactoryInfo>
+ CloneWithoutDefaultFactory();
+
std::unique_ptr<ChildURLLoaderFactoryBundleInfo> PassInterface();
void Update(std::unique_ptr<ChildURLLoaderFactoryBundleInfo> info,
@@ -97,6 +102,8 @@ class CONTENT_EXPORT ChildURLLoaderFactoryBundle
private:
void InitDefaultBlobFactoryIfNecessary();
void InitDirectNetworkFactoryIfNecessary();
+ std::unique_ptr<network::SharedURLLoaderFactoryInfo> CloneInternal(
+ bool include_default);
PossiblyAssociatedFactoryGetterCallback direct_network_factory_getter_;
PossiblyAssociatedURLLoaderFactoryPtr direct_network_factory_;