OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "services/service_manager/embedder/main.h" | 5 #include "services/service_manager/embedder/main.h" |
6 | 6 |
7 #include "base/allocator/features.h" | 7 #include "base/allocator/features.h" |
8 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/debug/activity_tracker.h" | 11 #include "base/debug/activity_tracker.h" |
12 #include "base/debug/debugger.h" | 12 #include "base/debug/debugger.h" |
13 #include "base/debug/stack_trace.h" | 13 #include "base/debug/stack_trace.h" |
14 #include "base/i18n/icu_util.h" | 14 #include "base/i18n/icu_util.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
| 17 #include "base/message_loop/message_loop.h" |
17 #include "base/optional.h" | 18 #include "base/optional.h" |
18 #include "base/process/launch.h" | 19 #include "base/process/launch.h" |
19 #include "base/process/memory.h" | 20 #include "base/process/memory.h" |
20 #include "base/process/process.h" | 21 #include "base/process/process.h" |
21 #include "base/run_loop.h" | 22 #include "base/run_loop.h" |
22 #include "base/task_scheduler/task_scheduler.h" | 23 #include "base/task_scheduler/task_scheduler.h" |
23 #include "base/threading/sequenced_worker_pool.h" | 24 #include "base/threading/sequenced_worker_pool.h" |
24 #include "base/threading/thread.h" | 25 #include "base/threading/thread.h" |
25 #include "base/trace_event/trace_config.h" | 26 #include "base/trace_event/trace_config.h" |
26 #include "base/trace_event/trace_log.h" | 27 #include "base/trace_event/trace_log.h" |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 autorelease_pool.reset(); | 485 autorelease_pool.reset(); |
485 #endif | 486 #endif |
486 | 487 |
487 if (process_type == ProcessType::kEmbedder) | 488 if (process_type == ProcessType::kEmbedder) |
488 delegate->ShutDownEmbedderProcess(); | 489 delegate->ShutDownEmbedderProcess(); |
489 | 490 |
490 return exit_code; | 491 return exit_code; |
491 } | 492 } |
492 | 493 |
493 } // namespace service_manager | 494 } // namespace service_manager |
OLD | NEW |