diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 20:42:12 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 20:42:12 +0000 |
commit | ee1a29b05d2e42c596d83ab862af8ec72e99a805 (patch) | |
tree | 08f3d8f63891bac3710d155743543098c87ff09a /net/url_request/url_request_job.h | |
parent | f3a696be8b7b99ab44a2c7fb3e5945f1ee45e30d (diff) | |
download | chromium_src-ee1a29b05d2e42c596d83ab862af8ec72e99a805.zip chromium_src-ee1a29b05d2e42c596d83ab862af8ec72e99a805.tar.gz chromium_src-ee1a29b05d2e42c596d83ab862af8ec72e99a805.tar.bz2 |
Use net::HttpRequestHeaders instead of std::string in URLRequest and friends.
BUG=22588
Review URL: http://codereview.chromium.org/1998001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46612 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/url_request/url_request_job.h')
-rw-r--r-- | net/url_request/url_request_job.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h index 0131428..9850f4f 100644 --- a/net/url_request/url_request_job.h +++ b/net/url_request/url_request_job.h @@ -17,6 +17,7 @@ namespace net { class AuthChallengeInfo; +class HttpRequestHeaders; class HttpResponseInfo; class IOBuffer; class UploadData; @@ -53,7 +54,7 @@ class URLRequestJob : public base::RefCountedThreadSafe<URLRequestJob>, virtual void SetUpload(net::UploadData* upload) { } // Sets extra request headers for Job types that support request headers. - virtual void SetExtraRequestHeaders(const std::string& headers) { } + virtual void SetExtraRequestHeaders(const net::HttpRequestHeaders& headers) {} // If any error occurs while starting the Job, NotifyStartError should be // called. |