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

Unified Diff: net/base/upload_data_stream.h

Issue 9384: UploadDataStream::Reset should call FillBuf to return... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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 | net/base/upload_data_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/upload_data_stream.h
===================================================================
--- net/base/upload_data_stream.h (revision 4818)
+++ net/base/upload_data_stream.h (working copy)
@@ -12,7 +12,7 @@
class UploadDataStream {
public:
- UploadDataStream(const UploadData* data);
+ explicit UploadDataStream(const UploadData* data);
~UploadDataStream();
// Returns the stream's buffer and buffer length.
@@ -24,9 +24,6 @@
// the upload data to be consumed.
void DidConsume(size_t num_bytes);
- // Call to reset the stream position to the beginning.
- void Reset();
-
// Returns the total size of the data stream and the current position.
uint64 size() const { return total_size_; }
uint64 position() const { return current_position_; }
« no previous file with comments | « no previous file | net/base/upload_data_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698