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

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

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
« no previous file with comments | « components/cronet/android/url_request_peer.h ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/url_request_peer.cc
diff --git a/components/cronet/android/url_request_peer.cc b/components/cronet/android/url_request_peer.cc
index 1a163fd6af5791bc82abdf9280ca03967e7a0ab1..76acfd3edbb3c3d6153151cd322b6fef939cdb0a 100644
--- a/components/cronet/android/url_request_peer.cc
+++ b/components/cronet/android/url_request_peer.cc
@@ -75,6 +75,15 @@ std::string URLRequestPeer::GetHeader(const std::string &name) const {
return value;
}
+bool URLRequestPeer::GetFullRequestHeaders(
+ net::HttpRequestHeaders* headers) const {
+ if (url_request_ == NULL) {
+ return false;
+ }
+ return url_request_->GetFullRequestHeaders(headers);
mef 2014/08/04 21:12:43 This returns *request* headers, not *response* hea
miloslav 2014/08/18 17:42:25 Oh my, I must have been really tired before my vac
+}
+
+
void URLRequestPeer::Start() {
context_->GetNetworkTaskRunner()->PostTask(
FROM_HERE,
« no previous file with comments | « components/cronet/android/url_request_peer.h ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698