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

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

Issue 1435063002: Eliminate third_party/mojo/src from all targets' include paths (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/child/runner_connection.cc ('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/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/synchronization/waitable_event.h" 19 #include "base/synchronization/waitable_event.h"
20 #include "base/thread_task_runner_handle.h" 20 #include "base/thread_task_runner_handle.h"
21 #include "base/threading/thread.h" 21 #include "base/threading/thread.h"
22 #include "base/threading/thread_checker.h" 22 #include "base/threading/thread_checker.h"
23 #include "mojo/message_pump/message_pump_mojo.h" 23 #include "mojo/message_pump/message_pump_mojo.h"
24 #include "mojo/public/cpp/bindings/binding.h"
25 #include "mojo/public/cpp/system/core.h"
26 #include "mojo/runner/child/child_controller.mojom.h" 24 #include "mojo/runner/child/child_controller.mojom.h"
27 #include "mojo/runner/host/native_application_support.h" 25 #include "mojo/runner/host/native_application_support.h"
28 #include "mojo/runner/host/switches.h" 26 #include "mojo/runner/host/switches.h"
29 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 27 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
30 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h" 28 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h"
31 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h" 29 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h"
32 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h" 30 #include "third_party/mojo/src/mojo/edk/embedder/scoped_platform_handle.h"
31 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
32 #include "third_party/mojo/src/mojo/public/cpp/system/core.h"
33 33
34 #if defined(OS_LINUX) && !defined(OS_ANDROID) 34 #if defined(OS_LINUX) && !defined(OS_ANDROID)
35 #include "base/rand_util.h" 35 #include "base/rand_util.h"
36 #include "base/sys_info.h" 36 #include "base/sys_info.h"
37 #include "mojo/runner/host/linux_sandbox.h" 37 #include "mojo/runner/host/linux_sandbox.h"
38 #endif 38 #endif
39 39
40 namespace mojo { 40 namespace mojo {
41 namespace runner { 41 namespace runner {
42 42
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // This will block, then run whatever the controller wants. 343 // This will block, then run whatever the controller wants.
344 blocker.Block(); 344 blocker.Block();
345 345
346 app_context.Shutdown(); 346 app_context.Shutdown();
347 347
348 return 0; 348 return 0;
349 } 349 }
350 350
351 } // namespace runner 351 } // namespace runner
352 } // namespace mojo 352 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/child/runner_connection.cc ('k') | mojo/runner/host/child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698