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

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

Issue 2652343003: Replace source pointer in cc::CopyOutputRequest with a base::UnguessableToken (Closed)
Patch Set: c Created 3 years, 10 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 #include "content/browser/renderer_host/media/video_capture_host.h" 108 #include "content/browser/renderer_host/media/video_capture_host.h"
109 #include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_p rovider_impl.h" 109 #include "content/browser/renderer_host/offscreen_canvas_compositor_frame_sink_p rovider_impl.h"
110 #include "content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h" 110 #include "content/browser/renderer_host/offscreen_canvas_surface_factory_impl.h"
111 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" 111 #include "content/browser/renderer_host/pepper/pepper_message_filter.h"
112 #include "content/browser/renderer_host/pepper/pepper_renderer_connection.h" 112 #include "content/browser/renderer_host/pepper/pepper_renderer_connection.h"
113 #include "content/browser/renderer_host/render_message_filter.h" 113 #include "content/browser/renderer_host/render_message_filter.h"
114 #include "content/browser/renderer_host/render_view_host_delegate.h" 114 #include "content/browser/renderer_host/render_view_host_delegate.h"
115 #include "content/browser/renderer_host/render_view_host_impl.h" 115 #include "content/browser/renderer_host/render_view_host_impl.h"
116 #include "content/browser/renderer_host/render_widget_helper.h" 116 #include "content/browser/renderer_host/render_widget_helper.h"
117 #include "content/browser/renderer_host/render_widget_host_impl.h" 117 #include "content/browser/renderer_host/render_widget_host_impl.h"
118 #include "content/browser/renderer_host/render_widget_host_view_frame_subscriber .h"
118 #include "content/browser/renderer_host/text_input_client_message_filter.h" 119 #include "content/browser/renderer_host/text_input_client_message_filter.h"
119 #include "content/browser/resolve_proxy_msg_helper.h" 120 #include "content/browser/resolve_proxy_msg_helper.h"
120 #include "content/browser/service_worker/service_worker_context_wrapper.h" 121 #include "content/browser/service_worker/service_worker_context_wrapper.h"
121 #include "content/browser/service_worker/service_worker_dispatcher_host.h" 122 #include "content/browser/service_worker/service_worker_dispatcher_host.h"
122 #include "content/browser/shared_worker/shared_worker_message_filter.h" 123 #include "content/browser/shared_worker/shared_worker_message_filter.h"
123 #include "content/browser/shared_worker/worker_storage_partition.h" 124 #include "content/browser/shared_worker/worker_storage_partition.h"
124 #include "content/browser/speech/speech_recognition_dispatcher_host.h" 125 #include "content/browser/speech/speech_recognition_dispatcher_host.h"
125 #include "content/browser/storage_partition_impl.h" 126 #include "content/browser/storage_partition_impl.h"
126 #include "content/browser/streams/stream_context.h" 127 #include "content/browser/streams/stream_context.h"
127 #include "content/browser/tracing/trace_message_filter.h" 128 #include "content/browser/tracing/trace_message_filter.h"
(...skipping 13 matching lines...) Expand all
141 #include "content/common/view_messages.h" 142 #include "content/common/view_messages.h"
142 #include "content/public/browser/browser_context.h" 143 #include "content/public/browser/browser_context.h"
143 #include "content/public/browser/browser_thread.h" 144 #include "content/public/browser/browser_thread.h"
144 #include "content/public/browser/content_browser_client.h" 145 #include "content/public/browser/content_browser_client.h"
145 #include "content/public/browser/notification_service.h" 146 #include "content/public/browser/notification_service.h"
146 #include "content/public/browser/notification_types.h" 147 #include "content/public/browser/notification_types.h"
147 #include "content/public/browser/render_process_host_factory.h" 148 #include "content/public/browser/render_process_host_factory.h"
148 #include "content/public/browser/render_process_host_observer.h" 149 #include "content/public/browser/render_process_host_observer.h"
149 #include "content/public/browser/render_widget_host.h" 150 #include "content/public/browser/render_widget_host.h"
150 #include "content/public/browser/render_widget_host_iterator.h" 151 #include "content/public/browser/render_widget_host_iterator.h"
151 #include "content/public/browser/render_widget_host_view_frame_subscriber.h"
152 #include "content/public/browser/resource_context.h" 152 #include "content/public/browser/resource_context.h"
153 #include "content/public/browser/user_metrics.h" 153 #include "content/public/browser/user_metrics.h"
154 #include "content/public/browser/worker_service.h" 154 #include "content/public/browser/worker_service.h"
155 #include "content/public/common/child_process_host.h" 155 #include "content/public/common/child_process_host.h"
156 #include "content/public/common/connection_filter.h" 156 #include "content/public/common/connection_filter.h"
157 #include "content/public/common/content_constants.h" 157 #include "content/public/common/content_constants.h"
158 #include "content/public/common/content_features.h" 158 #include "content/public/common/content_features.h"
159 #include "content/public/common/content_switches.h" 159 #include "content/public/common/content_switches.h"
160 #include "content/public/common/mojo_channel_switches.h" 160 #include "content/public/common/mojo_channel_switches.h"
161 #include "content/public/common/process_type.h" 161 #include "content/public/common/process_type.h"
(...skipping 2894 matching lines...) Expand 10 before | Expand all | Expand 10 after
3056 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3056 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3057 3057
3058 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3058 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3059 // Capture the error message in a crash key value. 3059 // Capture the error message in a crash key value.
3060 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3060 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3061 bad_message::ReceivedBadMessage(render_process_id, 3061 bad_message::ReceivedBadMessage(render_process_id,
3062 bad_message::RPH_MOJO_PROCESS_ERROR); 3062 bad_message::RPH_MOJO_PROCESS_ERROR);
3063 } 3063 }
3064 3064
3065 } // namespace content 3065 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/delegated_frame_host.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698