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

Side by Side Diff: services/shell/standalone/desktop/launcher_process.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stdio.h> 5 #include <stdio.h>
6 #include <string.h> 6 #include <string.h>
7 7
8 #include <iostream> 8 #include <iostream>
9 9
10 #include "base/base_switches.h" 10 #include "base/base_switches.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/debug/stack_trace.h" 13 #include "base/debug/stack_trace.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/i18n/icu_util.h" 15 #include "base/i18n/icu_util.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "base/synchronization/waitable_event.h" 18 #include "base/synchronization/waitable_event.h"
19 #include "base/threading/platform_thread.h" 19 #include "base/threading/platform_thread.h"
20 #include "mojo/shell/standalone/context.h" 20 #include "services/shell/standalone/context.h"
21 #include "mojo/shell/switches.h" 21 #include "services/shell/switches.h"
22 22
23 namespace mojo { 23 namespace mojo {
24 namespace shell { 24 namespace shell {
25 25
26 int LauncherProcessMain() { 26 int LauncherProcessMain() {
27 #if !defined(OFFICIAL_BUILD) 27 #if !defined(OFFICIAL_BUILD)
28 base::debug::EnableInProcessStackDumping(); 28 base::debug::EnableInProcessStackDumping();
29 #endif 29 #endif
30 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 30 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
31 // http://crbug.com/546644 31 // http://crbug.com/546644
(...skipping 18 matching lines...) Expand all
50 50
51 // Must be called before |message_loop| is destroyed. 51 // Must be called before |message_loop| is destroyed.
52 shell_context.Shutdown(); 52 shell_context.Shutdown();
53 } 53 }
54 54
55 return 0; 55 return 0;
56 } 56 }
57 57
58 } // namespace shell 58 } // namespace shell
59 } // namespace mojo 59 } // namespace mojo
OLDNEW
« no previous file with comments | « services/shell/standalone/desktop/launcher_process.h ('k') | services/shell/standalone/desktop/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698