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

Unified Diff: net/base/upload_data_stream.cc

Issue 9270030: net: Don't merge HTTP headers and body if the body is not in memory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win build Created 8 years, 11 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: net/base/upload_data_stream.cc
diff --git a/net/base/upload_data_stream.cc b/net/base/upload_data_stream.cc
index 7f36b7fa1622a3782f958b0aadc7c69205428456..50e604dd33cecc7416f0a9c521f89488ffb3762a 100644
--- a/net/base/upload_data_stream.cc
+++ b/net/base/upload_data_stream.cc
@@ -167,4 +167,8 @@ bool UploadDataStream::IsOnLastChunk() const {
elements.back().is_last_chunk()));
}
+bool UploadDataStream::IsInMemory() const {
+ return data_->IsInMemory();
+}
+
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698