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

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

Issue 6615020: Stream speech audio to server as it gets recorded, instead of waiting until end of recording. (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
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..0f0951f9fbf760555d1e7616d306f695380a4d62 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();
+ virtual void AppendChunkToUpload(const std::string& data, bool is_last_chunk);
bulach 2011/03/04 12:41:08 this file will be merged with the other change, ri
Satish 2011/03/04 13:03:26 Yes.
// Set one or more load flags as defined in net/base/load_flags.h. Must be
// called before the request is started.

Powered by Google App Engine
This is Rietveld 408576698