| Index: third_party/mojo/src/mojo/edk/system/data_pipe_producer_dispatcher.h
|
| diff --git a/third_party/mojo/src/mojo/edk/system/data_pipe_producer_dispatcher.h b/third_party/mojo/src/mojo/edk/system/data_pipe_producer_dispatcher.h
|
| index e3a00d25dd8c312a95762db31813c8c0c9e8dd8e..0a563d741eb2da26043e493f7bf91420ec0bd7e7 100644
|
| --- a/third_party/mojo/src/mojo/edk/system/data_pipe_producer_dispatcher.h
|
| +++ b/third_party/mojo/src/mojo/edk/system/data_pipe_producer_dispatcher.h
|
| @@ -28,6 +28,14 @@ class MOJO_SYSTEM_IMPL_EXPORT DataPipeProducerDispatcher : public Dispatcher {
|
| // |Dispatcher| public methods:
|
| Type GetType() const override;
|
|
|
| + // The "opposite" of |SerializeAndClose()|. (Typically this is called by
|
| + // |Dispatcher::Deserialize()|.)
|
| + static scoped_refptr<DataPipeProducerDispatcher>
|
| + Deserialize(Channel* channel, const void* source, size_t size);
|
| +
|
| + // Get access to the |DataPipe| for testing.
|
| + DataPipe* GetDataPipeForTest() { return data_pipe_.get(); }
|
| +
|
| private:
|
| ~DataPipeProducerDispatcher() override;
|
|
|
|
|