OLD | NEW |
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 "content/browser/renderer_host/browser_render_process_host.h" | 8 #include "content/browser/renderer_host/browser_render_process_host.h" |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "base/metrics/field_trial.h" | 21 #include "base/metrics/field_trial.h" |
22 #include "base/metrics/histogram.h" | 22 #include "base/metrics/histogram.h" |
23 #include "base/path_service.h" | 23 #include "base/path_service.h" |
24 #include "base/platform_file.h" | 24 #include "base/platform_file.h" |
25 #include "base/stl_util-inl.h" | 25 #include "base/stl_util-inl.h" |
26 #include "base/string_util.h" | 26 #include "base/string_util.h" |
27 #include "base/threading/thread.h" | 27 #include "base/threading/thread.h" |
28 #include "base/threading/thread_restrictions.h" | 28 #include "base/threading/thread_restrictions.h" |
29 #include "chrome/browser/browser_process.h" | 29 #include "chrome/browser/browser_process.h" |
30 #include "chrome/browser/history/history.h" | 30 #include "chrome/browser/history/history.h" |
31 #include "chrome/browser/net/resolve_proxy_msg_helper.h" | |
32 #include "chrome/browser/platform_util.h" | 31 #include "chrome/browser/platform_util.h" |
33 #include "chrome/browser/profiles/profile.h" | 32 #include "chrome/browser/profiles/profile.h" |
34 #include "chrome/browser/renderer_host/web_cache_manager.h" | 33 #include "chrome/browser/renderer_host/web_cache_manager.h" |
35 #include "chrome/common/chrome_paths.h" | 34 #include "chrome/common/chrome_paths.h" |
36 #include "chrome/common/chrome_switches.h" | 35 #include "chrome/common/chrome_switches.h" |
37 #include "chrome/common/logging_chrome.h" | 36 #include "chrome/common/logging_chrome.h" |
38 #include "chrome/common/render_messages.h" | 37 #include "chrome/common/render_messages.h" |
39 #include "content/browser/appcache/appcache_dispatcher_host.h" | 38 #include "content/browser/appcache/appcache_dispatcher_host.h" |
40 #include "content/browser/browser_child_process_host.h" | 39 #include "content/browser/browser_child_process_host.h" |
41 #include "content/browser/child_process_security_policy.h" | 40 #include "content/browser/child_process_security_policy.h" |
42 #include "content/browser/content_browser_client.h" | 41 #include "content/browser/content_browser_client.h" |
43 #include "content/browser/device_orientation/message_filter.h" | 42 #include "content/browser/device_orientation/message_filter.h" |
44 #include "content/browser/geolocation/geolocation_dispatcher_host.h" | 43 #include "content/browser/geolocation/geolocation_dispatcher_host.h" |
45 #include "content/browser/gpu/gpu_data_manager.h" | 44 #include "content/browser/gpu/gpu_data_manager.h" |
46 #include "content/browser/gpu/gpu_process_host.h" | 45 #include "content/browser/gpu/gpu_process_host.h" |
47 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" | 46 #include "content/browser/in_process_webkit/dom_storage_message_filter.h" |
48 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" | 47 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" |
49 #include "content/browser/file_system/file_system_dispatcher_host.h" | 48 #include "content/browser/file_system/file_system_dispatcher_host.h" |
50 #include "content/browser/mime_registry_message_filter.h" | 49 #include "content/browser/mime_registry_message_filter.h" |
| 50 #include "content/browser/resolve_proxy_msg_helper.h" |
51 #include "content/browser/plugin_service.h" | 51 #include "content/browser/plugin_service.h" |
52 #include "content/browser/renderer_host/audio_input_renderer_host.h" | 52 #include "content/browser/renderer_host/audio_input_renderer_host.h" |
53 #include "content/browser/renderer_host/audio_renderer_host.h" | 53 #include "content/browser/renderer_host/audio_renderer_host.h" |
54 #include "content/browser/renderer_host/blob_message_filter.h" | 54 #include "content/browser/renderer_host/blob_message_filter.h" |
55 #include "content/browser/renderer_host/clipboard_message_filter.h" | 55 #include "content/browser/renderer_host/clipboard_message_filter.h" |
56 #include "content/browser/renderer_host/database_message_filter.h" | 56 #include "content/browser/renderer_host/database_message_filter.h" |
57 #include "content/browser/renderer_host/file_utilities_message_filter.h" | 57 #include "content/browser/renderer_host/file_utilities_message_filter.h" |
58 #include "content/browser/renderer_host/gpu_message_filter.h" | 58 #include "content/browser/renderer_host/gpu_message_filter.h" |
59 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" | 59 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" |
60 #include "content/browser/renderer_host/pepper_file_message_filter.h" | 60 #include "content/browser/renderer_host/pepper_file_message_filter.h" |
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 while (!queued_messages_.empty()) { | 960 while (!queued_messages_.empty()) { |
961 Send(queued_messages_.front()); | 961 Send(queued_messages_.front()); |
962 queued_messages_.pop(); | 962 queued_messages_.pop(); |
963 } | 963 } |
964 } | 964 } |
965 | 965 |
966 void BrowserRenderProcessHost::OnUserMetricsRecordAction( | 966 void BrowserRenderProcessHost::OnUserMetricsRecordAction( |
967 const std::string& action) { | 967 const std::string& action) { |
968 UserMetrics::RecordComputedAction(action); | 968 UserMetrics::RecordComputedAction(action); |
969 } | 969 } |
OLD | NEW |