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

Unified Diff: ipc/mojo/ipc_channel_mojo.h

Issue 665993002: ChannelMojo: Add ChannelMojo::CanBeUsed() to enable it incrementally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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: ipc/mojo/ipc_channel_mojo.h
diff --git a/ipc/mojo/ipc_channel_mojo.h b/ipc/mojo/ipc_channel_mojo.h
index 696d744cd59a3c1cd41df38e98c68e588d1c5685..fa1477c3a63af660fbd0f3be90105bd22e9b1ac1 100644
--- a/ipc/mojo/ipc_channel_mojo.h
+++ b/ipc/mojo/ipc_channel_mojo.h
@@ -67,6 +67,9 @@ class IPC_MOJO_EXPORT ChannelMojo : public Channel,
virtual void OnChannelCreated(base::WeakPtr<ChannelMojo> channel) = 0;
};
+ // True if ChannelMojo is ready to use for th e underlying platform.
viettrungluu 2014/10/20 21:50:11 "ready to use" -> "can be used" "th e" -> "the"
Hajime Morrita 2014/10/20 23:06:50 Done.
+ static bool CanBeUsed();
+
// Create ChannelMojo. A bootstrap channel is created as well.
// |host| must not be null for server channels.
static scoped_ptr<ChannelMojo> Create(Delegate* delegate,

Powered by Google App Engine
This is Rietveld 408576698