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

Unified Diff: ipc/mojo/ipc_channel_mojo.h

Issue 554363004: ChannelMojo: Handle errors in pending message processing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | ipc/mojo/ipc_channel_mojo.cc » ('j') | ipc/mojo/ipc_channel_mojo.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/mojo/ipc_channel_mojo.h
diff --git a/ipc/mojo/ipc_channel_mojo.h b/ipc/mojo/ipc_channel_mojo.h
index 22c56a9e6894643e51f6f3838131dc6da513c8ce..95e9ed07007b177ab52905779eb616a38470aba1 100644
--- a/ipc/mojo/ipc_channel_mojo.h
+++ b/ipc/mojo/ipc_channel_mojo.h
@@ -105,6 +105,10 @@ class IPC_MOJO_EXPORT ChannelMojo : public Channel {
Listener* listener,
scoped_refptr<base::TaskRunner> io_thread_task_runner);
+ // Be virtual for testing.
+ virtual scoped_ptr<internal::MessageReader> CreateMessageReader(
+ mojo::ScopedMessagePipeHandle pipe);
+
private:
struct ChannelInfoDeleter {
void operator()(mojo::embedder::ChannelInfo* ptr) const;
« no previous file with comments | « no previous file | ipc/mojo/ipc_channel_mojo.cc » ('j') | ipc/mojo/ipc_channel_mojo.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698