Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1132)

Unified Diff: third_party/mojo/src/mojo/edk/system/data_pipe_consumer_dispatcher.h

Issue 975973002: Update mojo sdk to rev f68e697e389943cd9bf9652397312280e96b127a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: shake fist at msvc Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/mojo/src/mojo/edk/system/data_pipe_consumer_dispatcher.h
diff --git a/third_party/mojo/src/mojo/edk/system/data_pipe_consumer_dispatcher.h b/third_party/mojo/src/mojo/edk/system/data_pipe_consumer_dispatcher.h
index 34b3f4a9af006ad7a7c9e1a52f819fe39d33470a..02f88879869e420da5f53b490a410b7f69b4b369 100644
--- a/third_party/mojo/src/mojo/edk/system/data_pipe_consumer_dispatcher.h
+++ b/third_party/mojo/src/mojo/edk/system/data_pipe_consumer_dispatcher.h
@@ -28,6 +28,14 @@ class MOJO_SYSTEM_IMPL_EXPORT DataPipeConsumerDispatcher : public Dispatcher {
// |Dispatcher| public methods:
Type GetType() const override;
+ // The "opposite" of |SerializeAndClose()|. (Typically this is called by
+ // |Dispatcher::Deserialize()|.)
+ static scoped_refptr<DataPipeConsumerDispatcher>
+ Deserialize(Channel* channel, const void* source, size_t size);
+
+ // Get access to the |DataPipe| for testing.
+ DataPipe* GetDataPipeForTest() { return data_pipe_.get(); }
+
private:
~DataPipeConsumerDispatcher() override;

Powered by Google App Engine
This is Rietveld 408576698