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

Side by Side Diff: content/renderer/render_thread_impl.cc

Issue 2572573003: Remove old diagnostic crash reports. (Closed)
Patch Set: Preserve routing ID. Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #include "content/renderer/render_thread_impl.h" 5 #include "content/renderer/render_thread_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
(...skipping 2171 matching lines...) Expand 10 before | Expand all | Expand 10 after
2182 params->replication_state, compositor_deps, *params->widget_params, 2182 params->replication_state, compositor_deps, *params->widget_params,
2183 params->frame_owner_properties); 2183 params->frame_owner_properties);
2184 } 2184 }
2185 2185
2186 void RenderThreadImpl::CreateFrameProxy( 2186 void RenderThreadImpl::CreateFrameProxy(
2187 int32_t routing_id, 2187 int32_t routing_id,
2188 int32_t render_view_routing_id, 2188 int32_t render_view_routing_id,
2189 int32_t opener_routing_id, 2189 int32_t opener_routing_id,
2190 int32_t parent_routing_id, 2190 int32_t parent_routing_id,
2191 const FrameReplicationState& replicated_state) { 2191 const FrameReplicationState& replicated_state) {
2192 // Debug cases of https://crbug.com/575245.
2193 base::debug::SetCrashKeyValue("newproxy_proxy_id",
2194 base::IntToString(routing_id));
2195 base::debug::SetCrashKeyValue("newproxy_view_id",
2196 base::IntToString(render_view_routing_id));
2197 base::debug::SetCrashKeyValue("newproxy_opener_id",
2198 base::IntToString(opener_routing_id));
2199 base::debug::SetCrashKeyValue("newproxy_parent_id",
2200 base::IntToString(parent_routing_id));
2201 RenderFrameProxy::CreateFrameProxy( 2192 RenderFrameProxy::CreateFrameProxy(
2202 routing_id, render_view_routing_id, 2193 routing_id, render_view_routing_id,
2203 RenderFrameImpl::ResolveOpener(opener_routing_id), parent_routing_id, 2194 RenderFrameImpl::ResolveOpener(opener_routing_id), parent_routing_id,
2204 replicated_state); 2195 replicated_state);
2205 } 2196 }
2206 2197
2207 void RenderThreadImpl::OnNetworkConnectionChanged( 2198 void RenderThreadImpl::OnNetworkConnectionChanged(
2208 net::NetworkChangeNotifier::ConnectionType type, 2199 net::NetworkChangeNotifier::ConnectionType type,
2209 double max_bandwidth_mbps) { 2200 double max_bandwidth_mbps) {
2210 bool online = type != net::NetworkChangeNotifier::CONNECTION_NONE; 2201 bool online = type != net::NetworkChangeNotifier::CONNECTION_NONE;
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
2516 } 2507 }
2517 } 2508 }
2518 2509
2519 void RenderThreadImpl::OnRendererInterfaceRequest( 2510 void RenderThreadImpl::OnRendererInterfaceRequest(
2520 mojom::RendererAssociatedRequest request) { 2511 mojom::RendererAssociatedRequest request) {
2521 DCHECK(!renderer_binding_.is_bound()); 2512 DCHECK(!renderer_binding_.is_bound());
2522 renderer_binding_.Bind(std::move(request)); 2513 renderer_binding_.Bind(std::move(request));
2523 } 2514 }
2524 2515
2525 } // namespace content 2516 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698