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

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

Issue 2321503002: (Re-)introduce AncestorThrottle to handle 'X-Frame-Options'. (Closed)
Patch Set: Rebase after a month... Created 4 years, 2 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 6c84e4aca6979e1e91c5efe5c087231321c9afa9..e2496c5380eb8d25bd64afeadd6e7c462b607b2a 100644
--- a/third_party/WebKit/Source/platform/network/HTTPParsers.h
+++ b/third_party/WebKit/Source/platform/network/HTTPParsers.h
@@ -55,14 +55,6 @@ enum ContentTypeOptionsDisposition {
ContentTypeOptionsNosniff
};
-enum XFrameOptionsDisposition {
- XFrameOptionsInvalid,
- XFrameOptionsDeny,
- XFrameOptionsSameOrigin,
- XFrameOptionsAllowAll,
- XFrameOptionsConflict
-};
-
// Be sure to update the behavior of
// XSSAuditor::combineXSSProtectionHeaderAndCSP whenever you change this enum's
// content or ordering.
@@ -132,8 +124,6 @@ parseXSSProtectionHeader(const String& header,
String& failureReason,
unsigned& failurePosition,
String& reportURL);
-PLATFORM_EXPORT XFrameOptionsDisposition
-parseXFrameOptionsHeader(const String&);
PLATFORM_EXPORT CacheControlHeader
parseCacheControlDirectives(const AtomicString& cacheControlHeader,
const AtomicString& pragmaHeader);
« no previous file with comments | « third_party/WebKit/Source/core/loader/HttpEquiv.h ('k') | third_party/WebKit/Source/platform/network/HTTPParsers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698