| Index: net/url_request/url_request.cc
|
| diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
|
| index 132a67d779898c3f88ee105414cb3a4f915fe09b..ae0c42c7348bb21a05054aae173da4ef54d09516 100644
|
| --- a/net/url_request/url_request.cc
|
| +++ b/net/url_request/url_request.cc
|
| @@ -227,12 +227,6 @@ bool URLRequest::has_upload() const {
|
| return upload_data_stream_.get() != NULL;
|
| }
|
|
|
| -void URLRequest::SetExtraRequestHeaderById(int id, const string& value,
|
| - bool overwrite) {
|
| - DCHECK(!is_pending_ || is_redirecting_);
|
| - NOTREACHED() << "implement me!";
|
| -}
|
| -
|
| void URLRequest::SetExtraRequestHeaderByName(const string& name,
|
| const string& value,
|
| bool overwrite) {
|
| @@ -378,11 +372,6 @@ UploadProgress URLRequest::GetUploadProgress() const {
|
| return job_->GetUploadProgress();
|
| }
|
|
|
| -void URLRequest::GetResponseHeaderById(int id, string* value) {
|
| - DCHECK(job_.get());
|
| - NOTREACHED() << "implement me!";
|
| -}
|
| -
|
| void URLRequest::GetResponseHeaderByName(const string& name, string* value) {
|
| DCHECK(value);
|
| if (response_info_.headers.get()) {
|
| @@ -392,15 +381,6 @@ void URLRequest::GetResponseHeaderByName(const string& name, string* value) {
|
| }
|
| }
|
|
|
| -void URLRequest::GetAllResponseHeaders(string* headers) {
|
| - DCHECK(headers);
|
| - if (response_info_.headers.get()) {
|
| - response_info_.headers->GetNormalizedHeaders(headers);
|
| - } else {
|
| - headers->clear();
|
| - }
|
| -}
|
| -
|
| HostPortPair URLRequest::GetSocketAddress() const {
|
| DCHECK(job_.get());
|
| return job_->GetSocketAddress();
|
|
|