| Index: components/cronet/android/url_request_peer.cc
|
| ===================================================================
|
| --- components/cronet/android/url_request_peer.cc (revision 276124)
|
| +++ components/cronet/android/url_request_peer.cc (working copy)
|
| @@ -70,6 +70,15 @@
|
| is_last_chunk));
|
| }
|
|
|
| +
|
| +std::string URLRequestPeer::GetHeader(const std::string &name) const {
|
| + std::string value;
|
| + if (url_request_ != NULL) {
|
| + url_request_->GetResponseHeaderByName(name, &value);
|
| + }
|
| + return value;
|
| +}
|
| +
|
| void URLRequestPeer::Start() {
|
| context_->GetNetworkTaskRunner()->PostTask(
|
| FROM_HERE,
|
|
|