summaryrefslogtreecommitdiffstats
path: root/chrome_frame/html_utils.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 05:06:29 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-10 05:06:29 +0000
commitf8554294db9c534f2cf4c0069bd705dd490f9d67 (patch)
treedc26caa184546477ee290910832df7a168a46bb3 /chrome_frame/html_utils.h
parentd2177996db8711c972258e43d70ed90252170441 (diff)
downloadchromium_src-f8554294db9c534f2cf4c0069bd705dd490f9d67.zip
chromium_src-f8554294db9c534f2cf4c0069bd705dd490f9d67.tar.gz
chromium_src-f8554294db9c534f2cf4c0069bd705dd490f9d67.tar.bz2
ChromeFrame tests now use the mock http server instead of the python web server. This allows
us to control the behavior of the http server in the future. The change in the \chrome_frame_tester_helpers.js file is to send over asynchronous XHR post requests to prevent the browser from blocking in the UI thread while waiting for a response. We copy the the CFInstall and CFInstance scripts to the test\data folder to enable the mock server to serve them. Added support for the /echoheader? based GET requests. Some ChromeFrame tests rely on this. Bug=54908 Review URL: http://codereview.chromium.org/3356013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/html_utils.h')
-rw-r--r--chrome_frame/html_utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome_frame/html_utils.h b/chrome_frame/html_utils.h
index 8bffb32..6af5022 100644
--- a/chrome_frame/html_utils.h
+++ b/chrome_frame/html_utils.h
@@ -148,6 +148,9 @@ const char* GetChromeFrameUserAgent();
// the list with a value other than ALLOWALL, this returns true.
bool HasFrameBustingHeader(const std::string& http_headers);
+// Returns the header passed in from the headers list.
+std::string GetHttpHeaderFromHeaderList(const std::string& header_name,
+ const std::string& headers);
} // namespace http_utils
#endif // CHROME_FRAME_HTML_UTILS_H_