OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "chrome/browser/plugin_service.h" | 39 #include "chrome/browser/plugin_service.h" |
40 #include "chrome/browser/profile.h" | 40 #include "chrome/browser/profile.h" |
41 #include "chrome/browser/renderer_host/render_view_host.h" | 41 #include "chrome/browser/renderer_host/render_view_host.h" |
42 #include "chrome/browser/renderer_host/render_widget_helper.h" | 42 #include "chrome/browser/renderer_host/render_widget_helper.h" |
43 #include "chrome/browser/renderer_host/render_widget_host.h" | 43 #include "chrome/browser/renderer_host/render_widget_host.h" |
44 #include "chrome/browser/renderer_host/resource_message_filter.h" | 44 #include "chrome/browser/renderer_host/resource_message_filter.h" |
45 #include "chrome/browser/renderer_host/web_cache_manager.h" | 45 #include "chrome/browser/renderer_host/web_cache_manager.h" |
46 #include "chrome/browser/spellchecker.h" | 46 #include "chrome/browser/spellchecker.h" |
47 #include "chrome/browser/visitedlink_master.h" | 47 #include "chrome/browser/visitedlink_master.h" |
48 #include "chrome/common/chrome_switches.h" | 48 #include "chrome/common/chrome_switches.h" |
| 49 #include "chrome/common/child_process_info.h" |
49 #include "chrome/common/chrome_descriptors.h" | 50 #include "chrome/common/chrome_descriptors.h" |
50 #include "chrome/common/child_process_info.h" | |
51 #include "chrome/common/logging_chrome.h" | 51 #include "chrome/common/logging_chrome.h" |
52 #include "chrome/common/notification_service.h" | 52 #include "chrome/common/notification_service.h" |
53 #include "chrome/common/process_watcher.h" | 53 #include "chrome/common/process_watcher.h" |
54 #include "chrome/common/render_messages.h" | 54 #include "chrome/common/render_messages.h" |
55 #include "chrome/common/result_codes.h" | 55 #include "chrome/common/result_codes.h" |
56 #include "chrome/renderer/render_process.h" | 56 #include "chrome/renderer/render_process.h" |
57 #include "chrome/installer/util/google_update_settings.h" | 57 #include "chrome/installer/util/google_update_settings.h" |
58 #include "grit/generated_resources.h" | 58 #include "grit/generated_resources.h" |
59 | 59 |
60 #if defined(OS_WIN) | 60 #if defined(OS_WIN) |
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 profile()->GetExtensionMessageService()->RemoveEventListener(event_name, | 975 profile()->GetExtensionMessageService()->RemoveEventListener(event_name, |
976 pid()); | 976 pid()); |
977 } | 977 } |
978 } | 978 } |
979 | 979 |
980 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { | 980 void BrowserRenderProcessHost::OnExtensionCloseChannel(int port_id) { |
981 if (profile()->GetExtensionMessageService()) { | 981 if (profile()->GetExtensionMessageService()) { |
982 profile()->GetExtensionMessageService()->CloseChannel(port_id); | 982 profile()->GetExtensionMessageService()->CloseChannel(port_id); |
983 } | 983 } |
984 } | 984 } |
OLD | NEW |