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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2964503003: Move NetworkService mojom files to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // 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/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 #include "content/browser/storage_partition_impl.h" 132 #include "content/browser/storage_partition_impl.h"
133 #include "content/browser/streams/stream_context.h" 133 #include "content/browser/streams/stream_context.h"
134 #include "content/browser/tracing/trace_message_filter.h" 134 #include "content/browser/tracing/trace_message_filter.h"
135 #include "content/browser/websockets/websocket_manager.h" 135 #include "content/browser/websockets/websocket_manager.h"
136 #include "content/browser/webui/web_ui_controller_factory_registry.h" 136 #include "content/browser/webui/web_ui_controller_factory_registry.h"
137 #include "content/common/child_process_host_impl.h" 137 #include "content/common/child_process_host_impl.h"
138 #include "content/common/child_process_messages.h" 138 #include "content/common/child_process_messages.h"
139 #include "content/common/content_switches_internal.h" 139 #include "content/common/content_switches_internal.h"
140 #include "content/common/frame_messages.h" 140 #include "content/common/frame_messages.h"
141 #include "content/common/in_process_child_thread_params.h" 141 #include "content/common/in_process_child_thread_params.h"
142 #include "content/common/network_service.mojom.h"
143 #include "content/common/render_process_messages.h" 142 #include "content/common/render_process_messages.h"
144 #include "content/common/resource_messages.h" 143 #include "content/common/resource_messages.h"
145 #include "content/common/service_manager/child_connection.h" 144 #include "content/common/service_manager/child_connection.h"
146 #include "content/common/service_manager/service_manager_connection_impl.h" 145 #include "content/common/service_manager/service_manager_connection_impl.h"
147 #include "content/common/site_isolation_policy.h" 146 #include "content/common/site_isolation_policy.h"
148 #include "content/common/view_messages.h" 147 #include "content/common/view_messages.h"
149 #include "content/common/worker_url_loader_factory_provider.mojom.h" 148 #include "content/common/worker_url_loader_factory_provider.mojom.h"
150 #include "content/public/browser/browser_context.h" 149 #include "content/public/browser/browser_context.h"
151 #include "content/public/browser/browser_thread.h" 150 #include "content/public/browser/browser_thread.h"
152 #include "content/public/browser/content_browser_client.h" 151 #include "content/public/browser/content_browser_client.h"
153 #include "content/public/browser/notification_service.h" 152 #include "content/public/browser/notification_service.h"
154 #include "content/public/browser/notification_types.h" 153 #include "content/public/browser/notification_types.h"
155 #include "content/public/browser/render_process_host_factory.h" 154 #include "content/public/browser/render_process_host_factory.h"
156 #include "content/public/browser/render_process_host_observer.h" 155 #include "content/public/browser/render_process_host_observer.h"
157 #include "content/public/browser/render_widget_host.h" 156 #include "content/public/browser/render_widget_host.h"
158 #include "content/public/browser/render_widget_host_iterator.h" 157 #include "content/public/browser/render_widget_host_iterator.h"
159 #include "content/public/browser/resource_context.h" 158 #include "content/public/browser/resource_context.h"
160 #include "content/public/browser/worker_service.h" 159 #include "content/public/browser/worker_service.h"
161 #include "content/public/common/child_process_host.h" 160 #include "content/public/common/child_process_host.h"
162 #include "content/public/common/connection_filter.h" 161 #include "content/public/common/connection_filter.h"
163 #include "content/public/common/content_constants.h" 162 #include "content/public/common/content_constants.h"
164 #include "content/public/common/content_features.h" 163 #include "content/public/common/content_features.h"
165 #include "content/public/common/content_switches.h" 164 #include "content/public/common/content_switches.h"
166 #include "content/public/common/mojo_channel_switches.h" 165 #include "content/public/common/mojo_channel_switches.h"
166 #include "content/public/common/network_service.mojom.h"
167 #include "content/public/common/process_type.h" 167 #include "content/public/common/process_type.h"
168 #include "content/public/common/resource_type.h" 168 #include "content/public/common/resource_type.h"
169 #include "content/public/common/result_codes.h" 169 #include "content/public/common/result_codes.h"
170 #include "content/public/common/sandboxed_process_launcher_delegate.h" 170 #include "content/public/common/sandboxed_process_launcher_delegate.h"
171 #include "content/public/common/service_names.mojom.h" 171 #include "content/public/common/service_names.mojom.h"
172 #include "content/public/common/url_constants.h" 172 #include "content/public/common/url_constants.h"
173 #include "device/gamepad/gamepad_monitor.h" 173 #include "device/gamepad/gamepad_monitor.h"
174 #include "gpu/GLES2/gl2extchromium.h" 174 #include "gpu/GLES2/gl2extchromium.h"
175 #include "gpu/command_buffer/client/gpu_switches.h" 175 #include "gpu/command_buffer/client/gpu_switches.h"
176 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 176 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
(...skipping 3628 matching lines...) Expand 10 before | Expand all | Expand 10 after
3805 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3805 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3806 3806
3807 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3807 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3808 // Capture the error message in a crash key value. 3808 // Capture the error message in a crash key value.
3809 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3809 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3810 bad_message::ReceivedBadMessage(render_process_id, 3810 bad_message::ReceivedBadMessage(render_process_id,
3811 bad_message::RPH_MOJO_PROCESS_ERROR); 3811 bad_message::RPH_MOJO_PROCESS_ERROR);
3812 } 3812 }
3813 3813
3814 } // namespace content 3814 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698