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

Unified Diff: content/browser/frame_host/ancestor_throttle.h

Issue 1969743002: XFO: Bypass ancestor checks for 'Content-Disposition: attachment; ...' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | content/browser/frame_host/ancestor_throttle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/ancestor_throttle.h
diff --git a/content/browser/frame_host/ancestor_throttle.h b/content/browser/frame_host/ancestor_throttle.h
index 2d13328c4608f85bfd5b1c47e4b266aa122868ea..47ed415baec1aa11a585504d0feead9be97f99ef 100644
--- a/content/browser/frame_host/ancestor_throttle.h
+++ b/content/browser/frame_host/ancestor_throttle.h
@@ -49,6 +49,7 @@ class CONTENT_EXPORT AncestorThrottle : public NavigationThrottle {
FRIEND_TEST_ALL_PREFIXES(AncestorThrottleTest, ErrorsParsingXFrameOptions);
FRIEND_TEST_ALL_PREFIXES(AncestorThrottleTest,
IgnoreWhenFrameAncestorsPresent);
+ FRIEND_TEST_ALL_PREFIXES(AncestorThrottleTest, IgnoreWhenAttachment);
void ParseError(const std::string& value, HeaderDisposition disposition);
void ConsoleError(HeaderDisposition disposition);
« no previous file with comments | « no previous file | content/browser/frame_host/ancestor_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698