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

Side by Side Diff: mojo/runner/child/test_native_main.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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
« no previous file with comments | « mojo/runner/child/runner_connection.h ('k') | mojo/runner/context.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/child/test_native_main.h" 5 #include "mojo/runner/child/test_native_main.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/debug/stack_trace.h" 9 #include "base/debug/stack_trace.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/process/launch.h" 12 #include "base/process/launch.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "mojo/application/public/cpp/application_delegate.h"
16 #include "mojo/application/public/cpp/application_impl.h"
17 #include "mojo/message_pump/message_pump_mojo.h" 15 #include "mojo/message_pump/message_pump_mojo.h"
18 #include "mojo/runner/child/runner_connection.h" 16 #include "mojo/runner/child/runner_connection.h"
19 #include "mojo/runner/init.h" 17 #include "mojo/runner/init.h"
18 #include "mojo/shell/public/cpp/application_delegate.h"
19 #include "mojo/shell/public/cpp/application_impl.h"
20 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 20 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
21 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h" 21 #include "third_party/mojo/src/mojo/edk/embedder/process_delegate.h"
22 22
23 namespace mojo { 23 namespace mojo {
24 namespace runner { 24 namespace runner {
25 namespace { 25 namespace {
26 26
27 class ProcessDelegate : public mojo::embedder::ProcessDelegate { 27 class ProcessDelegate : public mojo::embedder::ProcessDelegate {
28 public: 28 public:
29 ProcessDelegate() {} 29 ProcessDelegate() {}
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 loop.Run(); 70 loop.Run();
71 71
72 mojo::embedder::ShutdownIPCSupport(); 72 mojo::embedder::ShutdownIPCSupport();
73 } 73 }
74 74
75 return 0; 75 return 0;
76 } 76 }
77 77
78 } // namespace runner 78 } // namespace runner
79 } // namespace mojo 79 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/runner/child/runner_connection.h ('k') | mojo/runner/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698