summaryrefslogtreecommitdiffstats
path: root/net/base/upload_data_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/upload_data_stream.h')
-rw-r--r--net/base/upload_data_stream.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h
index 7c2bb6d..c7dc2f1 100644
--- a/net/base/upload_data_stream.h
+++ b/net/base/upload_data_stream.h
@@ -12,7 +12,7 @@ namespace net {
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 @@ class UploadDataStream {
// 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_; }