summaryrefslogtreecommitdiffstats
path: root/chrome_frame/html_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/html_utils.h')
-rw-r--r--chrome_frame/html_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome_frame/html_utils.h b/chrome_frame/html_utils.h
index 369950c..daface10 100644
--- a/chrome_frame/html_utils.h
+++ b/chrome_frame/html_utils.h
@@ -139,6 +139,10 @@ std::string GetDefaultUserAgent();
// table not being present in the unit test executable.
const char* GetChromeFrameUserAgent();
+// Returns true if there is a frame busting header (other than the do-nothing
+// "X-Frame-Options: ALLOWALL") in the provided header block.
+bool HasFrameBustingHeader(const std::string& http_headers);
+
} // namespace http_utils
#endif // CHROME_FRAME_HTML_UTILS_H_