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

Unified Diff: chrome/common/net/url_fetcher.h

Issue 6292013: Add chunked uploads support to SPDY (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 10 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 | « no previous file | chrome/common/net/url_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/url_fetcher.h
diff --git a/chrome/common/net/url_fetcher.h b/chrome/common/net/url_fetcher.h
index 20f6ea771f25e6b82b5d79196b3b743c9728f2ac..e3e7eff156cc91f12e4d088e1ce7edaf671c3b48 100644
--- a/chrome/common/net/url_fetcher.h
+++ b/chrome/common/net/url_fetcher.h
@@ -140,12 +140,7 @@ class URLFetcher {
// Adds the given bytes to a request's POST data transmitted using chunked
// transfer encoding.
// This method should be called ONLY after calling Start().
- void AppendChunkToUpload(const std::string& data);
-
- // Signals the end of a chunked transfer encoded data stream. This method
- // should be called ONLY after calling Start(), set_chunked_upload() and
- // typically one or more calls to AppendChunkToUpload.
- void MarkEndOfChunks();
+ void AppendChunkToUpload(const std::string& data, bool is_last_chunk);
// Set one or more load flags as defined in net/base/load_flags.h. Must be
// called before the request is started.
« no previous file with comments | « no previous file | chrome/common/net/url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698