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

Side by Side Diff: mojo/runner/host/child_process.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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
« no previous file with comments | « mojo/runner/host/BUILD.gn ('k') | mojo/runner/host/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/runner/host/child_process.h" 5 #include "mojo/runner/host/child_process.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/i18n/icu_util.h" 12 #include "base/i18n/icu_util.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
18 #include "base/message_loop/message_loop.h" 18 #include "base/message_loop/message_loop.h"
19 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
20 #include "base/synchronization/waitable_event.h" 20 #include "base/synchronization/waitable_event.h"
21 #include "base/thread_task_runner_handle.h" 21 #include "base/thread_task_runner_handle.h"
22 #include "base/threading/thread.h" 22 #include "base/threading/thread.h"
23 #include "base/threading/thread_checker.h" 23 #include "base/threading/thread_checker.h"
24 #include "mojo/message_pump/message_pump_mojo.h" 24 #include "mojo/message_pump/message_pump_mojo.h"
25 #include "mojo/public/cpp/bindings/binding.h"
26 #include "mojo/public/cpp/system/core.h"
25 #include "mojo/runner/child/child_controller.mojom.h" 27 #include "mojo/runner/child/child_controller.mojom.h"
26 #include "mojo/runner/host/native_application_support.h" 28 #include "mojo/runner/host/native_application_support.h"
27 #include "mojo/runner/host/switches.h" 29 #include "mojo/runner/host/switches.h"
28 #include "mojo/runner/init.h" 30 #include "mojo/runner/init.h"
29 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 31 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
30 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h" 32 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h"
31 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h" 33 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h"
32 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h" 34 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h"
33 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
34 #include "third_party/mojo/src/mojo/public/cpp/system/core.h"
35 35
36 #if defined(OS_LINUX) && !defined(OS_ANDROID) 36 #if defined(OS_LINUX) && !defined(OS_ANDROID)
37 #include "base/rand_util.h" 37 #include "base/rand_util.h"
38 #include "base/sys_info.h" 38 #include "base/sys_info.h"
39 #include "mojo/runner/host/linux_sandbox.h" 39 #include "mojo/runner/host/linux_sandbox.h"
40 #endif 40 #endif
41 41
42 namespace mojo { 42 namespace mojo {
43 namespace runner { 43 namespace runner {
44 44
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 // This will block, then run whatever the controller wants. 340 // This will block, then run whatever the controller wants.
341 blocker.Block(); 341 blocker.Block();
342 342
343 app_context.Shutdown(); 343 app_context.Shutdown();
344 344
345 return 0; 345 return 0;
346 } 346 }
347 347
348 } // namespace runner 348 } // namespace runner
349 } // namespace mojo 349 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/host/BUILD.gn ('k') | mojo/runner/host/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698