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

Side by Side Diff: mash/example/window_type_launcher/main.cc

Issue 1857623003: convert //mash to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 <utility> 5 #include <utility>
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
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/memory/scoped_ptr.h"
12 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
13 #include "base/process/launch.h" 12 #include "base/process/launch.h"
14 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
15 #include "build/build_config.h" 14 #include "build/build_config.h"
16 #include "mash/example/window_type_launcher/window_type_launcher.h" 15 #include "mash/example/window_type_launcher/window_type_launcher.h"
17 #include "mojo/edk/embedder/embedder.h" 16 #include "mojo/edk/embedder/embedder.h"
18 #include "mojo/edk/embedder/process_delegate.h" 17 #include "mojo/edk/embedder/process_delegate.h"
19 #include "mojo/shell/public/cpp/shell_connection.h" 18 #include "mojo/shell/public/cpp/shell_connection.h"
20 #include "mojo/shell/public/interfaces/shell_client.mojom.h" 19 #include "mojo/shell/public/interfaces/shell_client.mojom.h"
21 #include "mojo/shell/runner/common/client_util.h" 20 #include "mojo/shell/runner/common/client_util.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 WindowTypeLauncher delegate; 64 WindowTypeLauncher delegate;
66 mojo::ShellConnection impl( 65 mojo::ShellConnection impl(
67 &delegate, mojo::shell::GetShellClientRequestFromCommandLine()); 66 &delegate, mojo::shell::GetShellClientRequestFromCommandLine());
68 loop.Run(); 67 loop.Run();
69 68
70 mojo::edk::ShutdownIPCSupport(); 69 mojo::edk::ShutdownIPCSupport();
71 } 70 }
72 71
73 return 0; 72 return 0;
74 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698