| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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" |
| 11 | 11 |
| 12 #include <algorithm> | 12 #include <algorithm> |
| 13 | 13 |
| 14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
| 15 #include "base/linked_ptr.h" | 15 #include "base/linked_ptr.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
| 18 #include "base/process_util.h" | 18 #include "base/process_util.h" |
| 19 #include "base/rand_util.h" | 19 #include "base/rand_util.h" |
| 20 #include "base/scoped_ptr.h" | 20 #include "base/scoped_ptr.h" |
| 21 #include "base/shared_memory.h" | 21 #include "base/shared_memory.h" |
| 22 #include "base/singleton.h" | 22 #include "base/singleton.h" |
| 23 #include "base/string_util.h" | 23 #include "base/string_util.h" |
| 24 #include "base/thread.h" | 24 #include "base/thread.h" |
| 25 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
| 26 #include "chrome/browser/extensions/user_script_master.h" | 26 #include "chrome/browser/extensions/user_script_master.h" |
| 27 #include "chrome/browser/history/history.h" | 27 #include "chrome/browser/history/history.h" |
| 28 #include "chrome/browser/plugin_service.h" | 28 #include "chrome/browser/plugin_service.h" |
| 29 #include "chrome/browser/profile.h" | 29 #include "chrome/browser/profile.h" |
| 30 #include "chrome/browser/renderer_host/render_view_host.h" |
| 30 #include "chrome/browser/renderer_host/render_widget_helper.h" | 31 #include "chrome/browser/renderer_host/render_widget_helper.h" |
| 32 #include "chrome/browser/renderer_host/render_widget_host.h" |
| 31 #include "chrome/browser/renderer_host/renderer_security_policy.h" | 33 #include "chrome/browser/renderer_host/renderer_security_policy.h" |
| 32 #include "chrome/browser/renderer_host/resource_message_filter.h" | 34 #include "chrome/browser/renderer_host/resource_message_filter.h" |
| 33 #include "chrome/browser/renderer_host/web_cache_manager.h" | 35 #include "chrome/browser/renderer_host/web_cache_manager.h" |
| 34 #include "chrome/browser/visitedlink_master.h" | 36 #include "chrome/browser/visitedlink_master.h" |
| 35 #include "chrome/common/chrome_switches.h" | 37 #include "chrome/common/chrome_switches.h" |
| 36 #include "chrome/common/child_process_info.h" | 38 #include "chrome/common/child_process_info.h" |
| 37 #include "chrome/common/logging_chrome.h" | 39 #include "chrome/common/logging_chrome.h" |
| 38 #include "chrome/common/notification_service.h" | 40 #include "chrome/common/notification_service.h" |
| 39 #include "chrome/common/pref_names.h" | 41 #include "chrome/common/pref_names.h" |
| 40 #include "chrome/common/pref_service.h" | 42 #include "chrome/common/pref_service.h" |
| (...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 SendUserScriptsUpdate(shared_memory); | 774 SendUserScriptsUpdate(shared_memory); |
| 773 } | 775 } |
| 774 break; | 776 break; |
| 775 } | 777 } |
| 776 default: { | 778 default: { |
| 777 NOTREACHED(); | 779 NOTREACHED(); |
| 778 break; | 780 break; |
| 779 } | 781 } |
| 780 } | 782 } |
| 781 } | 783 } |
| OLD | NEW |