| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 #if defined(OS_WIN) | 61 #if defined(OS_WIN) |
| 62 #include <atlbase.h> | 62 #include <atlbase.h> |
| 63 #include <atlapp.h> | 63 #include <atlapp.h> |
| 64 #include <malloc.h> | 64 #include <malloc.h> |
| 65 #include <cstring> | 65 #include <cstring> |
| 66 #elif defined(OS_MACOSX) | 66 #elif defined(OS_MACOSX) |
| 67 #include "base/mac/scoped_nsautorelease_pool.h" | 67 #include "base/mac/scoped_nsautorelease_pool.h" |
| 68 #if !defined(OS_IOS) | 68 #if !defined(OS_IOS) |
| 69 #include "base/mach_ipc_mac.h" | |
| 70 #include "base/power_monitor/power_monitor.h" | 69 #include "base/power_monitor/power_monitor.h" |
| 71 #include "content/browser/mach_broker_mac.h" | 70 #include "content/browser/mach_broker_mac.h" |
| 72 #include "content/common/sandbox_init_mac.h" | 71 #include "content/common/sandbox_init_mac.h" |
| 73 #endif // !OS_IOS | 72 #endif // !OS_IOS |
| 74 #endif // OS_WIN | 73 #endif // OS_WIN |
| 75 | 74 |
| 76 #if defined(OS_POSIX) | 75 #if defined(OS_POSIX) |
| 77 #include <signal.h> | 76 #include <signal.h> |
| 78 | 77 |
| 79 #include "base/posix/global_descriptors.h" | 78 #include "base/posix/global_descriptors.h" |
| (...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 | 795 |
| 797 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); | 796 DISALLOW_COPY_AND_ASSIGN(ContentMainRunnerImpl); |
| 798 }; | 797 }; |
| 799 | 798 |
| 800 // static | 799 // static |
| 801 ContentMainRunner* ContentMainRunner::Create() { | 800 ContentMainRunner* ContentMainRunner::Create() { |
| 802 return new ContentMainRunnerImpl(); | 801 return new ContentMainRunnerImpl(); |
| 803 } | 802 } |
| 804 | 803 |
| 805 } // namespace content | 804 } // namespace content |
| OLD | NEW |