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

Unified Diff: trunk/src/content/common/mojo/mojo_channel_init.h

Issue 208263008: Revert 258763 "Adds plumbing to pass WebUI mojo::Handle from bro..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/content/common/mojo/mojo_channel_init.h
===================================================================
--- trunk/src/content/common/mojo/mojo_channel_init.h (revision 258768)
+++ trunk/src/content/common/mojo/mojo_channel_init.h (working copy)
@@ -31,20 +31,12 @@
MojoChannelInit();
~MojoChannelInit();
- // Initializes mojo. This is done implicitly when creating a MojoChannelInit,
- // but can be done explicitly as necessary.
- static void InitMojo();
-
// Inits the channel. This takes ownership of |file|.
void Init(base::PlatformFile file,
scoped_refptr<base::TaskRunner> io_thread_task_runner);
bool is_handle_valid() const { return bootstrap_message_pipe_.is_valid(); }
- mojo::ScopedMessagePipeHandle bootstrap_message_pipe() {
- return bootstrap_message_pipe_.Pass();
- }
-
private:
// Invoked on the main thread once the channel has been established.
static void OnCreatedChannel(
« no previous file with comments | « trunk/src/content/browser/webui/web_ui_mojo_browsertest.cc ('k') | trunk/src/content/common/mojo/mojo_channel_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698