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

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

Issue 2737553003: Remove ChildProcess.HangRendererType. (Closed)
Patch Set: rebase to tot Created 3 years, 9 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/browser/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 } 952 }
953 953
954 void RenderViewHostImpl::RenderViewReady() { 954 void RenderViewHostImpl::RenderViewReady() {
955 delegate_->RenderViewReady(this); 955 delegate_->RenderViewReady(this);
956 } 956 }
957 957
958 void RenderViewHostImpl::ClosePageTimeout() { 958 void RenderViewHostImpl::ClosePageTimeout() {
959 if (delegate_->ShouldIgnoreUnresponsiveRenderer()) 959 if (delegate_->ShouldIgnoreUnresponsiveRenderer())
960 return; 960 return;
961 961
962 UMA_HISTOGRAM_ENUMERATION(
963 "ChildProcess.HangRendererType",
964 RendererUnresponsiveType::RENDERER_UNRESPONSIVE_CLOSE_PAGE,
965 RendererUnresponsiveType::RENDERER_UNRESPONSIVE_MAX);
966
967 ClosePageIgnoringUnloadEvents(); 962 ClosePageIgnoringUnloadEvents();
968 } 963 }
969 964
970 } // namespace content 965 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698