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

Side by Side Diff: chrome/app/mash/mash_runner.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "chrome/app/mash/mash_runner.h" 5 #include "chrome/app/mash/mash_runner.h"
6 6
7 #include "ash/mus/sysui_application.h" 7 #include "ash/mus/sysui_application.h"
8 #include "base/at_exit.h" 8 #include "base/at_exit.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/debug/debugger.h" 11 #include "base/debug/debugger.h"
12 #include "base/i18n/icu_util.h" 12 #include "base/i18n/icu_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
15 #include "base/process/launch.h" 15 #include "base/process/launch.h"
16 #include "components/mus/mus_app.h" 16 #include "components/mus/mus_app.h"
17 #include "components/resource_provider/resource_provider_app.h" 17 #include "components/resource_provider/resource_provider_app.h"
18 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
19 #include "mash/quick_launch/quick_launch_application.h" 19 #include "mash/quick_launch/quick_launch_application.h"
20 #include "mash/session/session.h" 20 #include "mash/session/session.h"
21 #include "mash/task_viewer/task_viewer.h" 21 #include "mash/task_viewer/task_viewer.h"
22 #include "mash/wm/window_manager_application.h" 22 #include "mash/wm/window_manager_application.h"
23 #include "mojo/public/cpp/bindings/binding_set.h" 23 #include "mojo/public/cpp/bindings/binding_set.h"
24 #include "mojo/shell/background/background_shell.h" 24 #include "services/shell/background/background_shell.h"
25 #include "mojo/shell/native_runner_delegate.h" 25 #include "services/shell/native_runner_delegate.h"
26 #include "mojo/shell/public/cpp/connector.h" 26 #include "services/shell/public/cpp/connector.h"
27 #include "mojo/shell/public/cpp/identity.h" 27 #include "services/shell/public/cpp/identity.h"
28 #include "mojo/shell/public/cpp/shell_client.h" 28 #include "services/shell/public/cpp/shell_client.h"
29 #include "mojo/shell/public/cpp/shell_connection.h" 29 #include "services/shell/public/cpp/shell_connection.h"
30 #include "mojo/shell/public/interfaces/shell_client_factory.mojom.h" 30 #include "services/shell/public/interfaces/shell_client_factory.mojom.h"
31 #include "mojo/shell/runner/common/switches.h" 31 #include "services/shell/runner/common/switches.h"
32 #include "mojo/shell/runner/host/child_process_base.h" 32 #include "services/shell/runner/host/child_process_base.h"
33 33
34 #if defined(OS_LINUX) 34 #if defined(OS_LINUX)
35 #include "components/font_service/font_service_app.h" 35 #include "components/font_service/font_service_app.h"
36 #endif 36 #endif
37 37
38 using mojo::shell::mojom::ShellClientFactory; 38 using mojo::shell::mojom::ShellClientFactory;
39 39
40 namespace { 40 namespace {
41 41
42 // kProcessType used to identify child processes. 42 // kProcessType used to identify child processes.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 scoped_ptr<base::MessageLoop> message_loop; 228 scoped_ptr<base::MessageLoop> message_loop;
229 #if defined(OS_LINUX) 229 #if defined(OS_LINUX)
230 base::AtExitManager exit_manager; 230 base::AtExitManager exit_manager;
231 #endif 231 #endif
232 if (!IsChild()) 232 if (!IsChild())
233 message_loop.reset(new base::MessageLoop(base::MessageLoop::TYPE_UI)); 233 message_loop.reset(new base::MessageLoop(base::MessageLoop::TYPE_UI));
234 MashRunner mash_runner; 234 MashRunner mash_runner;
235 mash_runner.Run(); 235 mash_runner.Run();
236 return 0; 236 return 0;
237 } 237 }
OLDNEW
« no previous file with comments | « chrome/app/mash/mash_runner.h ('k') | chrome/browser/BUILD.gn » ('j') | services/shell/DEPS » ('J')

Powered by Google App Engine
This is Rietveld 408576698