Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 15e3246cb598ca5a4b34f5448e8798b165e97110..7d713fea16de4db779f623d31a789bce35591e59 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -902,6 +902,8 @@ bool RenderProcessHostImpl::OnMessageReceived(const IPC::Message& msg) { |
SuddenTerminationChanged) |
IPC_MESSAGE_HANDLER(ViewHostMsg_UserMetricsRecordAction, |
OnUserMetricsRecordAction) |
+ IPC_MESSAGE_HANDLER(ViewHostMsg_SyncIPCElapsedTime, |
+ OnSyncIPCElapsedTime) |
IPC_MESSAGE_HANDLER(ViewHostMsg_SavedPageAsMHTML, OnSavedPageAsMHTML) |
// Adding single handlers for your service here is fine, but once your |
// service needs more than one handler, please extract them into a new |
@@ -1366,6 +1368,10 @@ void RenderProcessHostImpl::OnUserMetricsRecordAction( |
content::RecordComputedAction(action); |
} |
+void RenderProcessHostImpl::OnSyncIPCElapsedTime(const base::TimeDelta& delta) { |
+ HISTOGRAM_TIMES("RendererSyncIPC.ElapsedTime", delta); |
+} |
+ |
void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { |
MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); |
} |