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

Unified Diff: net/base/upload_data.cc

Issue 10834289: Split net::UploadData into two: for IPC and for upload handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + moved ResolveBlobRef from webkit_blob to webkit_glue Created 8 years, 4 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 | « net/base/upload_data.h ('k') | net/base/upload_data_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/upload_data.cc
diff --git a/net/base/upload_data.cc b/net/base/upload_data.cc
index a36ea06b1cea8542b1b10986d73a289a4a56b958..ca35d1292e1d77bace6b34b57a7122ed37f01f55 100644
--- a/net/base/upload_data.cc
+++ b/net/base/upload_data.cc
@@ -45,12 +45,6 @@ void UploadData::AppendFileRange(const FilePath& file_path,
expected_modification_time);
}
-void UploadData::AppendBlob(const GURL& blob_url) {
- DCHECK(!is_chunked_);
- elements_.push_back(UploadElement());
- elements_.back().SetToBlobUrl(blob_url);
-}
-
void UploadData::AppendChunk(const char* bytes,
int bytes_len,
bool is_last_chunk) {
« no previous file with comments | « net/base/upload_data.h ('k') | net/base/upload_data_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698