diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 20:42:51 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-24 20:42:51 +0000 |
commit | 0d282c2e73b39d58ed920177dd53211238dbd211 (patch) | |
tree | 82ae5fc3f6a5e8a5a1ff8b34c58a815bc617f787 /chrome_frame/chrome_frame_automation.cc | |
parent | 56235c632f18380a4455b6ea113cd6e2a2df0d69 (diff) | |
download | chromium_src-0d282c2e73b39d58ed920177dd53211238dbd211.zip chromium_src-0d282c2e73b39d58ed920177dd53211238dbd211.tar.gz chromium_src-0d282c2e73b39d58ed920177dd53211238dbd211.tar.bz2 |
Fix for the HTTPSGetTest and GetTest net test failures with ChromeFrame. These failures occurred
because of new expectations in these tests which match the server ip address and port being
connected to. We need to return that information from ChromeFrame.
Fix is to send over the corresponding HostPortPair structure in the AutomationMsg_RequestStarted
IPC message. A major part of this CL is basically the groundwork to pass this information over
via automation.
BUG=none
TEST=chrome frame net tests should pass.
Review URL: http://codereview.chromium.org/6575027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75942 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_automation.cc')
-rw-r--r-- | chrome_frame/chrome_frame_automation.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc index 81eecee..9b397d9 100644 --- a/chrome_frame/chrome_frame_automation.cc +++ b/chrome_frame/chrome_frame_automation.cc @@ -1439,14 +1439,15 @@ void ChromeFrameAutomationClient::OnUnload(bool* should_unload) { void ChromeFrameAutomationClient::OnResponseStarted(int request_id, const char* mime_type, const char* headers, int size, base::Time last_modified, const std::string& redirect_url, - int redirect_status) { + int redirect_status, const net::HostPortPair& socket_address) { const AutomationURLResponse response( mime_type, headers ? headers : "", size, last_modified, redirect_url, - redirect_status); + redirect_status, + socket_address); automation_server_->Send(new AutomationMsg_RequestStarted( tab_->handle(), request_id, response)); |