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/browser/automation/url_request_automation_job.h | |
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/browser/automation/url_request_automation_job.h')
-rw-r--r-- | chrome/browser/automation/url_request_automation_job.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/automation/url_request_automation_job.h b/chrome/browser/automation/url_request_automation_job.h index 9dab13a..e9dd127 100644 --- a/chrome/browser/automation/url_request_automation_job.h +++ b/chrome/browser/automation/url_request_automation_job.h @@ -18,6 +18,7 @@ struct AutomationURLResponse; namespace net { class HttpResponseHeaders; class HttpResponseInfo; +class HostPortPair; } namespace IPC { @@ -46,6 +47,7 @@ class URLRequestAutomationJob : public net::URLRequestJob { virtual int GetResponseCode() const; virtual bool IsRedirectResponse(GURL* location, int* http_status_code); virtual uint64 GetUploadProgress() const; + virtual net::HostPortPair GetSocketAddress() const; // Peek and process automation messages for URL requests. static bool MayFilterMessage(const IPC::Message& message, int* request_id); @@ -123,6 +125,9 @@ class URLRequestAutomationJob : public net::URLRequestJob { // stack when we receive a Read request for a completed job. net::URLRequestStatus request_status_; + // Contains the ip address and port of the destination host. + net::HostPortPair socket_address_; + ScopedRunnableMethodFactory<URLRequestAutomationJob> method_factory_; DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob); |