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

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

Issue 2572573003: Remove old diagnostic crash reports. (Closed)
Patch Set: Fix typo. Created 3 years, 7 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 (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 2052 matching lines...) Expand 10 before | Expand all | Expand 10 after
2063 params->replication_state, compositor_deps, *params->widget_params, 2063 params->replication_state, compositor_deps, *params->widget_params,
2064 params->frame_owner_properties); 2064 params->frame_owner_properties);
2065 } 2065 }
2066 2066
2067 void RenderThreadImpl::CreateFrameProxy( 2067 void RenderThreadImpl::CreateFrameProxy(
2068 int32_t routing_id, 2068 int32_t routing_id,
2069 int32_t render_view_routing_id, 2069 int32_t render_view_routing_id,
2070 int32_t opener_routing_id, 2070 int32_t opener_routing_id,
2071 int32_t parent_routing_id, 2071 int32_t parent_routing_id,
2072 const FrameReplicationState& replicated_state) { 2072 const FrameReplicationState& replicated_state) {
2073 // Debug cases of https://crbug.com/575245.
2074 base::debug::SetCrashKeyValue("newproxy_proxy_id",
2075 base::IntToString(routing_id));
2076 base::debug::SetCrashKeyValue("newproxy_view_id",
2077 base::IntToString(render_view_routing_id));
2078 base::debug::SetCrashKeyValue("newproxy_opener_id",
2079 base::IntToString(opener_routing_id));
2080 base::debug::SetCrashKeyValue("newproxy_parent_id",
2081 base::IntToString(parent_routing_id));
2082 RenderFrameProxy::CreateFrameProxy( 2073 RenderFrameProxy::CreateFrameProxy(
2083 routing_id, render_view_routing_id, 2074 routing_id, render_view_routing_id,
2084 RenderFrameImpl::ResolveOpener(opener_routing_id), parent_routing_id, 2075 RenderFrameImpl::ResolveOpener(opener_routing_id), parent_routing_id,
2085 replicated_state); 2076 replicated_state);
2086 } 2077 }
2087 2078
2088 void RenderThreadImpl::OnNetworkConnectionChanged( 2079 void RenderThreadImpl::OnNetworkConnectionChanged(
2089 net::NetworkChangeNotifier::ConnectionType type, 2080 net::NetworkChangeNotifier::ConnectionType type,
2090 double max_bandwidth_mbps) { 2081 double max_bandwidth_mbps) {
2091 bool online = type != net::NetworkChangeNotifier::CONNECTION_NONE; 2082 bool online = type != net::NetworkChangeNotifier::CONNECTION_NONE;
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
2406 } 2397 }
2407 } 2398 }
2408 2399
2409 void RenderThreadImpl::OnRendererInterfaceRequest( 2400 void RenderThreadImpl::OnRendererInterfaceRequest(
2410 mojom::RendererAssociatedRequest request) { 2401 mojom::RendererAssociatedRequest request) {
2411 DCHECK(!renderer_binding_.is_bound()); 2402 DCHECK(!renderer_binding_.is_bound());
2412 renderer_binding_.Bind(std::move(request)); 2403 renderer_binding_.Bind(std::move(request));
2413 } 2404 }
2414 2405
2415 } // namespace content 2406 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698