OLD | NEW |
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 <stdint.h> |
| 6 |
5 #include <utility> | 7 #include <utility> |
6 | 8 |
7 #include "base/at_exit.h" | 9 #include "base/at_exit.h" |
8 #include "base/base_paths.h" | 10 #include "base/base_paths.h" |
9 #include "base/base_switches.h" | 11 #include "base/base_switches.h" |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/command_line.h" | 13 #include "base/command_line.h" |
| 14 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
14 #include "base/message_loop/message_loop.h" | 17 #include "base/message_loop/message_loop.h" |
15 #include "base/path_service.h" | 18 #include "base/path_service.h" |
16 #include "base/process/process.h" | 19 #include "base/process/process.h" |
17 #include "base/thread_task_runner_handle.h" | 20 #include "base/thread_task_runner_handle.h" |
18 #include "mojo/application/public/cpp/application_connection.h" | 21 #include "mojo/application/public/cpp/application_connection.h" |
19 #include "mojo/application/public/cpp/application_delegate.h" | 22 #include "mojo/application/public/cpp/application_delegate.h" |
20 #include "mojo/application/public/cpp/application_impl.h" | 23 #include "mojo/application/public/cpp/application_impl.h" |
21 #include "mojo/application/public/cpp/interface_factory.h" | 24 #include "mojo/application/public/cpp/interface_factory.h" |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 | 162 |
160 int main(int argc, char** argv) { | 163 int main(int argc, char** argv) { |
161 base::AtExitManager at_exit; | 164 base::AtExitManager at_exit; |
162 base::CommandLine::Init(argc, argv); | 165 base::CommandLine::Init(argc, argv); |
163 | 166 |
164 mojo::runner::InitializeLogging(); | 167 mojo::runner::InitializeLogging(); |
165 | 168 |
166 TargetApplicationDelegate delegate; | 169 TargetApplicationDelegate delegate; |
167 return mojo::runner::TestNativeMain(&delegate); | 170 return mojo::runner::TestNativeMain(&delegate); |
168 } | 171 } |
OLD | NEW |