Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Unified Diff: components/cronet/android/url_request_peer.h

Issue 326993003: Merge 271992 "Upstream changes to:" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985/src/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/cronet/android/url_request_peer.h
===================================================================
--- components/cronet/android/url_request_peer.h (revision 276124)
+++ components/cronet/android/url_request_peer.h (working copy)
@@ -84,6 +84,9 @@
// 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_; }
« no previous file with comments | « components/cronet/android/org_chromium_net_UrlRequest.cc ('k') | components/cronet/android/url_request_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698