| Index: net/base/upload_element_reader.h
|
| diff --git a/net/base/upload_element_reader.h b/net/base/upload_element_reader.h
|
| index 049f38ef60705ac0e45b8dc73b08e161ba206899..08353f48089ec76f7d97ecf38039a6916a2c9579 100644
|
| --- a/net/base/upload_element_reader.h
|
| +++ b/net/base/upload_element_reader.h
|
| @@ -31,6 +31,11 @@ class NET_EXPORT UploadElementReader {
|
| // otherwise returns NULL.
|
| virtual const UploadFileElementReader* AsFileReader() const;
|
|
|
| + // This function must be called before calling any other method. It is not
|
| + // valid to call any method (other than the destructor) if Init() fails.
|
| + // This method can be called multiple times. Calling this method after an
|
| + // Init() success results in resetting the state (i.e. the stream is rewound).
|
| + //
|
| // Initializes the instance synchronously when possible, otherwise does
|
| // initialization aynschronously, returns ERR_IO_PENDING and runs callback.
|
| // Calling this method again after a Init() success results in resetting the
|
|
|