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

Side by Side Diff: mojo/shell/app_child_process.cc

Issue 214753004: Mojo: Move mojo/public/system/core_cpp.h to mojo/cpp/public/system/core.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased/updated 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 | « mojo/services/gles2/command_buffer_impl.h ('k') | mojo/shell/app_child_process_host.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 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 "mojo/shell/app_child_process.h" 5 #include "mojo/shell/app_child_process.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/scoped_native_library.h" 16 #include "base/scoped_native_library.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/synchronization/waitable_event.h" 18 #include "base/synchronization/waitable_event.h"
19 #include "base/threading/thread.h" 19 #include "base/threading/thread.h"
20 #include "base/threading/thread_checker.h" 20 #include "base/threading/thread_checker.h"
21 #include "mojo/common/message_pump_mojo.h" 21 #include "mojo/common/message_pump_mojo.h"
22 #include "mojo/embedder/embedder.h" 22 #include "mojo/embedder/embedder.h"
23 #include "mojo/public/bindings/remote_ptr.h" 23 #include "mojo/public/bindings/remote_ptr.h"
24 #include "mojo/public/system/core_cpp.h" 24 #include "mojo/public/cpp/system/core.h"
25 #include "mojo/shell/app_child_process.mojom.h" 25 #include "mojo/shell/app_child_process.mojom.h"
26 26
27 namespace mojo { 27 namespace mojo {
28 namespace shell { 28 namespace shell {
29 29
30 namespace { 30 namespace {
31 31
32 // Blocker --------------------------------------------------------------------- 32 // Blocker ---------------------------------------------------------------------
33 33
34 // Blocks a thread until another thread unblocks it, at which point it unblocks 34 // Blocks a thread until another thread unblocks it, at which point it unblocks
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 blocker.Block(); 293 blocker.Block();
294 294
295 app_context.controller_runner()->PostTask( 295 app_context.controller_runner()->PostTask(
296 FROM_HERE, 296 FROM_HERE,
297 base::Bind(&AppChildControllerImpl::Shutdown, 297 base::Bind(&AppChildControllerImpl::Shutdown,
298 base::Unretained(app_context.controller()))); 298 base::Unretained(app_context.controller())));
299 } 299 }
300 300
301 } // namespace shell 301 } // namespace shell
302 } // namespace mojo 302 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/gles2/command_buffer_impl.h ('k') | mojo/shell/app_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698