summaryrefslogtreecommitdiff
path: root/chromium/content/browser/frame_host/ancestor_throttle.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/frame_host/ancestor_throttle.h')
-rw-r--r--chromium/content/browser/frame_host/ancestor_throttle.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/content/browser/frame_host/ancestor_throttle.h b/chromium/content/browser/frame_host/ancestor_throttle.h
index bef0114b8aa..c0c3d7d0dc9 100644
--- a/chromium/content/browser/frame_host/ancestor_throttle.h
+++ b/chromium/content/browser/frame_host/ancestor_throttle.h
@@ -38,16 +38,21 @@ class CONTENT_EXPORT AncestorThrottle : public NavigationThrottle {
~AncestorThrottle() override;
+ NavigationThrottle::ThrottleCheckResult WillRedirectRequest() override;
NavigationThrottle::ThrottleCheckResult WillProcessResponse() override;
const char* GetNameForLogging() override;
private:
+ enum class LoggingDisposition { LOG_TO_CONSOLE, DO_NOT_LOG_TO_CONSOLE };
+
FRIEND_TEST_ALL_PREFIXES(AncestorThrottleTest, ParsingXFrameOptions);
FRIEND_TEST_ALL_PREFIXES(AncestorThrottleTest, ErrorsParsingXFrameOptions);
FRIEND_TEST_ALL_PREFIXES(AncestorThrottleTest,
IgnoreWhenFrameAncestorsPresent);
explicit AncestorThrottle(NavigationHandle* handle);
+ NavigationThrottle::ThrottleCheckResult ProcessResponseImpl(
+ LoggingDisposition);
void ParseError(const std::string& value, HeaderDisposition disposition);
void ConsoleError(HeaderDisposition disposition);