OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/app/content_main_runner.h" | 5 #include "content/public/app/content_main_runner.h" |
6 | 6 |
7 #include <stdlib.h> | 7 #include <stdlib.h> |
8 | 8 |
9 #include "base/allocator/allocator_extension.h" | 9 #include "base/allocator/allocator_extension.h" |
10 #include "base/at_exit.h" | 10 #include "base/at_exit.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 #include "base/mach_ipc_mac.h" | 69 #include "base/mach_ipc_mac.h" |
70 #include "base/system_monitor/system_monitor.h" | 70 #include "base/system_monitor/system_monitor.h" |
71 #include "content/browser/mach_broker_mac.h" | 71 #include "content/browser/mach_broker_mac.h" |
72 #include "content/common/sandbox_init_mac.h" | 72 #include "content/common/sandbox_init_mac.h" |
73 #endif // !OS_IOS | 73 #endif // !OS_IOS |
74 #endif // OS_WIN | 74 #endif // OS_WIN |
75 | 75 |
76 #if defined(OS_POSIX) | 76 #if defined(OS_POSIX) |
77 #include <signal.h> | 77 #include <signal.h> |
78 | 78 |
79 #include "base/global_descriptors_posix.h" | 79 #include "base/posix/global_descriptors.h" |
80 #include "content/public/common/content_descriptors.h" | 80 #include "content/public/common/content_descriptors.h" |
81 | 81 |
82 #if !defined(OS_MACOSX) | 82 #if !defined(OS_MACOSX) |
83 #include "content/public/common/zygote_fork_delegate_linux.h" | 83 #include "content/public/common/zygote_fork_delegate_linux.h" |
84 #endif | 84 #endif |
85 | 85 |
86 #endif // OS_POSIX | 86 #endif // OS_POSIX |
87 | 87 |
88 #if !defined(OS_MACOSX) && defined(USE_TCMALLOC) | 88 #if !defined(OS_MACOSX) && defined(USE_TCMALLOC) |
89 extern "C" { | 89 extern "C" { |
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 | 799 |
800 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); | 800 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); |
801 }; | 801 }; |
802 | 802 |
803 // static | 803 // static |
804 ContentMainRunner* ContentMainRunner::Create() { | 804 ContentMainRunner* ContentMainRunner::Create() { |
805 return new ContentMainRunnerImpl(); | 805 return new ContentMainRunnerImpl(); |
806 } | 806 } |
807 | 807 |
808 } // namespace content | 808 } // namespace content |
OLD | NEW |