| 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 e29800cbcee6305ae7f4893414e2345ef73722f1..142c3f558f67968a009169f7629103f3667f7b9d 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -1537,6 +1537,8 @@ bool RenderProcessHostImpl::OnMessageReceived(const IPC::Message& msg) {
|
| SuddenTerminationChanged)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_UserMetricsRecordAction,
|
| OnUserMetricsRecordAction)
|
| + IPC_MESSAGE_HANDLER(ViewHostMsg_UserMetricsRecordRappor,
|
| + OnUserMetricsRecordRappor)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_SavedPageAsMHTML, OnSavedPageAsMHTML)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_Close_ACK, OnCloseACK)
|
| #if defined(ENABLE_WEBRTC)
|
| @@ -2370,6 +2372,12 @@ void RenderProcessHostImpl::OnUserMetricsRecordAction(
|
| RecordComputedAction(action);
|
| }
|
|
|
| +void RenderProcessHostImpl::OnUserMetricsRecordRappor(
|
| + const std::string& metric,
|
| + const std::string& sample) {
|
| + RecordRappor(metric, sample);
|
| +}
|
| +
|
| void RenderProcessHostImpl::OnCloseACK(int old_route_id) {
|
| SessionStorageHolder* holder = static_cast<SessionStorageHolder*>
|
| (GetUserData(kSessionStorageHolderKey));
|
|
|