summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/loader/child_url_loader_factory_bundle.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-24 12:15:48 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-28 13:30:04 +0000
commitb014812705fc80bff0a5c120dfcef88f349816dc (patch)
tree25a2e2d9fa285f1add86aa333389a839f81a39ae /chromium/content/renderer/loader/child_url_loader_factory_bundle.h
parent9f4560b1027ae06fdb497023cdcaf91b8511fa74 (diff)
downloadqtwebengine-chromium-b014812705fc80bff0a5c120dfcef88f349816dc.tar.gz
BASELINE: Update Chromium to 68.0.3440.125
Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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_;