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

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

Issue 367763004: WIP: Some cronet modifications for the AndroidGSA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Second attempt on UploadChannel Created 6 years, 5 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
diff --git a/components/cronet/android/url_request_peer.h b/components/cronet/android/url_request_peer.h
index d54bc9121a1a87d6e8edd3604175de7c7c58a962..325dda974e2796d6e8b14744d0395ee17bd4aba0 100644
--- a/components/cronet/android/url_request_peer.h
+++ b/components/cronet/android/url_request_peer.h
@@ -87,6 +87,9 @@ class URLRequestPeer : public net::URLRequest::Delegate {
// Returns the value of the specified response header.
std::string GetHeader(const std::string& name) const;
+ // Gets all headers.
+ bool GetFullRequestHeaders(net::HttpRequestHeaders* headers) const;
+
// Returns the overall number of bytes read.
size_t bytes_read() const { return bytes_read_; }

Powered by Google App Engine
This is Rietveld 408576698