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

Side by Side Diff: content/app/content_main_runner.cc

Issue 256403004: Move Mojo channel initialization closer to IPC::Channel setup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: another ios fix Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/debug/debugger.h" 12 #include "base/debug/debugger.h"
13 #include "base/debug/trace_event.h" 13 #include "base/debug/trace_event.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/i18n/icu_util.h" 15 #include "base/i18n/icu_util.h"
16 #include "base/lazy_instance.h" 16 #include "base/lazy_instance.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/metrics/stats_table.h" 19 #include "base/metrics/stats_table.h"
20 #include "base/path_service.h" 20 #include "base/path_service.h"
21 #include "base/process/launch.h" 21 #include "base/process/launch.h"
22 #include "base/process/memory.h" 22 #include "base/process/memory.h"
23 #include "base/process/process_handle.h" 23 #include "base/process/process_handle.h"
24 #include "base/profiler/alternate_timer.h" 24 #include "base/profiler/alternate_timer.h"
25 #include "base/strings/string_number_conversions.h" 25 #include "base/strings/string_number_conversions.h"
26 #include "base/strings/string_util.h" 26 #include "base/strings/string_util.h"
27 #include "base/strings/stringprintf.h" 27 #include "base/strings/stringprintf.h"
28 #include "content/browser/browser_main.h" 28 #include "content/browser/browser_main.h"
29 #include "content/browser/gpu/gpu_process_host.h"
30 #include "content/browser/renderer_host/render_process_host_impl.h"
31 #include "content/browser/utility_process_host_impl.h"
32 #include "content/common/set_process_title.h" 29 #include "content/common/set_process_title.h"
33 #include "content/common/url_schemes.h" 30 #include "content/common/url_schemes.h"
34 #include "content/gpu/in_process_gpu_thread.h" 31 #include "content/gpu/in_process_gpu_thread.h"
35 #include "content/public/app/content_main.h" 32 #include "content/public/app/content_main.h"
36 #include "content/public/app/content_main_delegate.h" 33 #include "content/public/app/content_main_delegate.h"
37 #include "content/public/app/startup_helper_win.h" 34 #include "content/public/app/startup_helper_win.h"
38 #include "content/public/browser/content_browser_client.h" 35 #include "content/public/browser/content_browser_client.h"
39 #include "content/public/common/content_client.h" 36 #include "content/public/common/content_client.h"
40 #include "content/public/common/content_constants.h" 37 #include "content/public/common/content_constants.h"
41 #include "content/public/common/content_paths.h" 38 #include "content/public/common/content_paths.h"
(...skipping 14 matching lines...) Expand all
56 #if defined(USE_TCMALLOC) 53 #if defined(USE_TCMALLOC)
57 #include "third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h" 54 #include "third_party/tcmalloc/chromium/src/gperftools/malloc_extension.h"
58 #if defined(TYPE_PROFILING) 55 #if defined(TYPE_PROFILING)
59 #include "base/allocator/type_profiler.h" 56 #include "base/allocator/type_profiler.h"
60 #include "base/allocator/type_profiler_tcmalloc.h" 57 #include "base/allocator/type_profiler_tcmalloc.h"
61 #endif 58 #endif
62 #endif 59 #endif
63 60
64 #if !defined(OS_IOS) 61 #if !defined(OS_IOS)
65 #include "content/app/mojo/mojo_init.h" 62 #include "content/app/mojo/mojo_init.h"
63 #include "content/browser/gpu/gpu_process_host.h"
64 #include "content/browser/renderer_host/render_process_host_impl.h"
65 #include "content/browser/utility_process_host_impl.h"
66 #include "content/public/plugin/content_plugin_client.h" 66 #include "content/public/plugin/content_plugin_client.h"
67 #include "content/public/renderer/content_renderer_client.h" 67 #include "content/public/renderer/content_renderer_client.h"
68 #include "content/public/utility/content_utility_client.h" 68 #include "content/public/utility/content_utility_client.h"
69 #endif 69 #endif
70 70
71 #if defined(OS_WIN) 71 #if defined(OS_WIN)
72 #include <atlbase.h> 72 #include <atlbase.h>
73 #include <atlapp.h> 73 #include <atlapp.h>
74 #include <malloc.h> 74 #include <malloc.h>
75 #include <cstring> 75 #include <cstring>
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698