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

Side by Side Diff: content/common/mojo/mojo_channel_init.cc

Issue 203373004: Mojo: Move mojo/system/embedder to mojo/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | mojo/common/test/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/mojo/mojo_channel_init.h" 5 #include "content/common/mojo/mojo_channel_init.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "mojo/system/embedder/embedder.h" 11 #include "mojo/embedder/embedder.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 namespace { 15 namespace {
16 16
17 struct Initializer { 17 struct Initializer {
18 Initializer() { 18 Initializer() {
19 mojo::embedder::Init(); 19 mojo::embedder::Init();
20 } 20 }
21 }; 21 };
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 io_thread->PostTask( 88 io_thread->PostTask(
89 FROM_HERE, 89 FROM_HERE,
90 base::Bind(&mojo::embedder::DestroyChannelOnIOThread, channel)); 90 base::Bind(&mojo::embedder::DestroyChannelOnIOThread, channel));
91 return; 91 return;
92 } 92 }
93 host->channel_info_ = channel; 93 host->channel_info_ = channel;
94 } 94 }
95 95
96 96
97 } // namespace content 97 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | mojo/common/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698