| Index: mojo/common/data_pipe_utils.h
|
| diff --git a/mojo/common/data_pipe_utils.h b/mojo/common/data_pipe_utils.h
|
| index c1fbc0e48ca1345bdf0750ff2f0b9fc888d20647..83355aab00b80759869e02b4ce7410b709aafdca 100644
|
| --- a/mojo/common/data_pipe_utils.h
|
| +++ b/mojo/common/data_pipe_utils.h
|
| @@ -43,6 +43,10 @@ bool MOJO_COMMON_EXPORT BlockingCopyToString(
|
| ScopedDataPipeConsumerHandle source,
|
| std::string* contents);
|
|
|
| +bool MOJO_COMMON_EXPORT BlockingCopyFromString(
|
| + const std::string& source,
|
| + const ScopedDataPipeProducerHandle& destination);
|
| +
|
| // Synchronously copies data from source to the destination file returning true
|
| // on success and false on error. In case of an error, |destination| holds the
|
| // data that could be read from the source before the error occured.
|
|
|