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

Unified Diff: third_party/WebKit/Source/platform/network/HTTPParsers.h

Issue 2075053003: Add basic Referrer-Policy support for Documents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add crbug for TODO Created 4 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: third_party/WebKit/Source/platform/network/HTTPParsers.h
diff --git a/third_party/WebKit/Source/platform/network/HTTPParsers.h b/third_party/WebKit/Source/platform/network/HTTPParsers.h
index 8fe5d2e95d6e571115490d6870eab92866eb1c88..93b81c6cb128791de349bc0d6131e801828b49f2 100644
--- a/third_party/WebKit/Source/platform/network/HTTPParsers.h
+++ b/third_party/WebKit/Source/platform/network/HTTPParsers.h
@@ -32,6 +32,7 @@
#define HTTPParsers_h
#include "platform/PlatformExport.h"
+#include "platform/weborigin/ReferrerPolicy.h"
#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/HashSet.h"
@@ -120,6 +121,8 @@ PLATFORM_EXPORT bool parseSuboriginHeader(const String& header, Suborigin*, WTF:
PLATFORM_EXPORT ContentTypeOptionsDisposition parseContentTypeOptionsHeader(const String& header);
+PLATFORM_EXPORT ReferrerPolicy parseReferrerPolicyHeader(const String& header);
+
} // namespace blink
#endif

Powered by Google App Engine
This is Rietveld 408576698