Index: components/cronet/android/url_request_peer.h |
diff --git a/components/cronet/android/url_request_peer.h b/components/cronet/android/url_request_peer.h |
index ddd5e235b802ea84153d3f3404b19bc31dc64d78..d54bc9121a1a87d6e8edd3604175de7c7c58a962 100644 |
--- a/components/cronet/android/url_request_peer.h |
+++ b/components/cronet/android/url_request_peer.h |
@@ -84,6 +84,9 @@ class URLRequestPeer : public net::URLRequest::Delegate { |
// Returns the value of the content-type response header. |
std::string content_type() const { return content_type_; } |
+ // Returns the value of the specified response header. |
+ std::string GetHeader(const std::string& name) const; |
+ |
// Returns the overall number of bytes read. |
size_t bytes_read() const { return bytes_read_; } |