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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 6864001: Move RenderProcess to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | chrome/chrome_renderer.gypi » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "chrome/browser/renderer_host/browser_render_process_host.h" 8 #include "chrome/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "chrome/common/chrome_paths.h" 51 #include "chrome/common/chrome_paths.h"
52 #include "chrome/common/chrome_switches.h" 52 #include "chrome/common/chrome_switches.h"
53 #include "chrome/common/extensions/extension.h" 53 #include "chrome/common/extensions/extension.h"
54 #include "chrome/common/extensions/extension_icon_set.h" 54 #include "chrome/common/extensions/extension_icon_set.h"
55 #include "chrome/common/extensions/extension_messages.h" 55 #include "chrome/common/extensions/extension_messages.h"
56 #include "chrome/common/logging_chrome.h" 56 #include "chrome/common/logging_chrome.h"
57 #include "chrome/common/pref_names.h" 57 #include "chrome/common/pref_names.h"
58 #include "chrome/common/render_messages.h" 58 #include "chrome/common/render_messages.h"
59 #include "chrome/common/safe_browsing/safebrowsing_messages.h" 59 #include "chrome/common/safe_browsing/safebrowsing_messages.h"
60 #include "chrome/common/spellcheck_messages.h" 60 #include "chrome/common/spellcheck_messages.h"
61 #include "chrome/renderer/render_process_impl.h"
62 #include "content/browser/appcache/appcache_dispatcher_host.h" 61 #include "content/browser/appcache/appcache_dispatcher_host.h"
63 #include "content/browser/browser_child_process_host.h" 62 #include "content/browser/browser_child_process_host.h"
64 #include "content/browser/child_process_security_policy.h" 63 #include "content/browser/child_process_security_policy.h"
65 #include "content/browser/device_orientation/message_filter.h" 64 #include "content/browser/device_orientation/message_filter.h"
66 #include "content/browser/geolocation/geolocation_dispatcher_host.h" 65 #include "content/browser/geolocation/geolocation_dispatcher_host.h"
67 #include "content/browser/gpu_process_host.h" 66 #include "content/browser/gpu_process_host.h"
68 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" 67 #include "content/browser/in_process_webkit/dom_storage_message_filter.h"
69 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" 68 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h"
70 #include "content/browser/file_system/file_system_dispatcher_host.h" 69 #include "content/browser/file_system/file_system_dispatcher_host.h"
71 #include "content/browser/mime_registry_message_filter.h" 70 #include "content/browser/mime_registry_message_filter.h"
(...skipping 20 matching lines...) Expand all
92 #include "content/browser/trace_message_filter.h" 91 #include "content/browser/trace_message_filter.h"
93 #include "content/browser/worker_host/worker_message_filter.h" 92 #include "content/browser/worker_host/worker_message_filter.h"
94 #include "content/common/child_process_info.h" 93 #include "content/common/child_process_info.h"
95 #include "content/common/child_process_messages.h" 94 #include "content/common/child_process_messages.h"
96 #include "content/common/gpu_messages.h" 95 #include "content/common/gpu_messages.h"
97 #include "content/common/notification_service.h" 96 #include "content/common/notification_service.h"
98 #include "content/common/process_watcher.h" 97 #include "content/common/process_watcher.h"
99 #include "content/common/resource_messages.h" 98 #include "content/common/resource_messages.h"
100 #include "content/common/result_codes.h" 99 #include "content/common/result_codes.h"
101 #include "content/common/view_messages.h" 100 #include "content/common/view_messages.h"
101 #include "content/renderer/render_process_impl.h"
102 #include "content/renderer/render_thread.h" 102 #include "content/renderer/render_thread.h"
103 #include "grit/generated_resources.h" 103 #include "grit/generated_resources.h"
104 #include "ipc/ipc_logging.h" 104 #include "ipc/ipc_logging.h"
105 #include "ipc/ipc_platform_file.h" 105 #include "ipc/ipc_platform_file.h"
106 #include "ipc/ipc_switches.h" 106 #include "ipc/ipc_switches.h"
107 #include "media/base/media_switches.h" 107 #include "media/base/media_switches.h"
108 #include "net/url_request/url_request_context_getter.h" 108 #include "net/url_request/url_request_context_getter.h"
109 #include "ui/base/ui_base_switches.h" 109 #include "ui/base/ui_base_switches.h"
110 #include "ui/gfx/gl/gl_switches.h" 110 #include "ui/gfx/gl/gl_switches.h"
111 #include "webkit/fileapi/file_system_path_manager.h" 111 #include "webkit/fileapi/file_system_path_manager.h"
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 IPC::PlatformFileForTransit file; 1322 IPC::PlatformFileForTransit file;
1323 #if defined(OS_POSIX) 1323 #if defined(OS_POSIX)
1324 file = base::FileDescriptor(model_file, false); 1324 file = base::FileDescriptor(model_file, false);
1325 #elif defined(OS_WIN) 1325 #elif defined(OS_WIN)
1326 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1326 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1327 false, DUPLICATE_SAME_ACCESS); 1327 false, DUPLICATE_SAME_ACCESS);
1328 #endif 1328 #endif
1329 Send(new SafeBrowsingMsg_SetPhishingModel(file)); 1329 Send(new SafeBrowsingMsg_SetPhishingModel(file));
1330 } 1330 }
1331 } 1331 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698