OLD | NEW |
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/cpp/bindings/remote_ptr.h" |
24 #include "mojo/public/cpp/system/core.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 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 |
OLD | NEW |