Index: Source/core/fetch/ResourceFetcher.h |
diff --git a/Source/core/fetch/ResourceFetcher.h b/Source/core/fetch/ResourceFetcher.h |
index 2fbffdb98536dd05b5d99f56d57e022a7e4ada71..fa19721559c73ea0072a68fb6c5c1bcb59ae8940 100644 |
--- a/Source/core/fetch/ResourceFetcher.h |
+++ b/Source/core/fetch/ResourceFetcher.h |
@@ -180,7 +180,8 @@ public: |
static ResourceFetcher* toResourceFetcher(ResourceLoaderHost*); |
private: |
- friend class ResourceFetcherTest; |
+ friend class ResourceFetcherUpgradeTest; |
+ friend class ResourceFetcherHintsTest; |
explicit ResourceFetcher(DocumentLoader*); |
@@ -201,6 +202,7 @@ private: |
ResourceRequestCachePolicy resourceRequestCachePolicy(const ResourceRequest&, Resource::Type); |
void addAdditionalRequestHeaders(ResourceRequest&, Resource::Type); |
void upgradeInsecureRequest(FetchRequest&); |
+ void addClientHintsIfNeccessary(FetchRequest&); |
bool canRequest(Resource::Type, const ResourceRequest&, const KURL&, const ResourceLoaderOptions&, bool forPreload, FetchRequest::OriginRestriction) const; |