Index: net/base/upload_data_stream.h |
diff --git a/net/base/upload_data_stream.h b/net/base/upload_data_stream.h |
index 24653023d36933604c18b006e72eff0aad707447..769c2d6992fc3fc71940d1a366f8040b410f0521 100644 |
--- a/net/base/upload_data_stream.h |
+++ b/net/base/upload_data_stream.h |
@@ -34,6 +34,11 @@ class NET_EXPORT UploadDataStream { |
~UploadDataStream(); |
+ // Creates UploadDataStream with a reader. |
+ static UploadDataStream* CreateWithReader( |
+ scoped_ptr<UploadElementReader> reader, |
+ int64 identifier); |
+ |
// Initializes the stream. This function must be called before calling any |
// other method. It is not valid to call any method (other than the |
// destructor) if Init() returns a failure. This method can be called multiple |