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

Unified Diff: Source/core/html/parser/PreloadRequest.h

Issue 1189403002: Fix Preloader Meta Accept-CH bug (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix broken tests Created 5 years, 6 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: Source/core/html/parser/PreloadRequest.h
diff --git a/Source/core/html/parser/PreloadRequest.h b/Source/core/html/parser/PreloadRequest.h
index 718c4feaaae0aaed89a1eacce9adc46252099355..9e06fcd89d1146a36effc95b9d259bd98a59a209 100644
--- a/Source/core/html/parser/PreloadRequest.h
+++ b/Source/core/html/parser/PreloadRequest.h
@@ -45,6 +45,7 @@ public:
bool isPreconnect() const { return m_requestType == RequestTypePreconnect; }
bool isCORS() const { return m_isCORSEnabled; }
bool isAllowCredentials() const { return m_allowCredentials == AllowStoredCredentials; }
+ const ClientHintsPreferences& preferences() const { return m_clientHintsPreferences; }
private:
PreloadRequest(const String& initiatorName,

Powered by Google App Engine
This is Rietveld 408576698