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

Side by Side Diff: services/shell/runner/child/test_native_main.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 years, 8 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
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/shell/runner/child/test_native_main.h" 5 #include "services/shell/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/edk/embedder/embedder.h" 15 #include "mojo/edk/embedder/embedder.h"
16 #include "mojo/edk/embedder/process_delegate.h" 16 #include "mojo/edk/embedder/process_delegate.h"
17 #include "mojo/shell/public/cpp/shell_client.h" 17 #include "services/shell/public/cpp/shell_client.h"
18 #include "mojo/shell/public/cpp/shell_connection.h" 18 #include "services/shell/public/cpp/shell_connection.h"
19 #include "mojo/shell/runner/common/client_util.h" 19 #include "services/shell/runner/common/client_util.h"
20 #include "mojo/shell/runner/init.h" 20 #include "services/shell/runner/init.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 namespace shell { 23 namespace shell {
24 namespace { 24 namespace {
25 25
26 class ProcessDelegate : public mojo::edk::ProcessDelegate { 26 class ProcessDelegate : public mojo::edk::ProcessDelegate {
27 public: 27 public:
28 ProcessDelegate() {} 28 ProcessDelegate() {}
29 ~ProcessDelegate() override {} 29 ~ProcessDelegate() override {}
30 30
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 loop.Run(); 63 loop.Run();
64 64
65 mojo::edk::ShutdownIPCSupport(); 65 mojo::edk::ShutdownIPCSupport();
66 } 66 }
67 67
68 return 0; 68 return 0;
69 } 69 }
70 70
71 } // namespace shell 71 } // namespace shell
72 } // namespace mojo 72 } // namespace mojo
OLDNEW
« no previous file with comments | « services/shell/runner/child/test_native_main.h ('k') | services/shell/runner/child/test_native_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698