Chromium Code Reviews| Index: content/browser/renderer_host/file_utilities_message_filter.cc |
| diff --git a/content/browser/renderer_host/file_utilities_message_filter.cc b/content/browser/renderer_host/file_utilities_message_filter.cc |
| index 287e18bf3ca00651c03a6017d11ad5f7d8c955e4..d76d2c032da4a97ce08c623290f0968a0fc47796 100644 |
| --- a/content/browser/renderer_host/file_utilities_message_filter.cc |
| +++ b/content/browser/renderer_host/file_utilities_message_filter.cc |
| @@ -7,6 +7,7 @@ |
| #include "base/file_util.h" |
| #include "content/browser/child_process_security_policy_impl.h" |
| #include "content/common/file_utilities_messages.h" |
| +#include "content/public/browser/user_metrics.h" |
| using content::BrowserThread; |
| @@ -32,6 +33,10 @@ bool FileUtilitiesMessageFilter::OnMessageReceived(const IPC::Message& message, |
| IPC_MESSAGE_HANDLER(FileUtilitiesMsg_OpenFile, OnOpenFile) |
| IPC_MESSAGE_UNHANDLED(handled = false) |
| IPC_END_MESSAGE_MAP() |
| + |
| + if (handled && message.is_sync()) |
| + content::RecordAction(content::UserMetricsAction("FileSyncIPC_Handled")); |
|
jam
2012/05/31 15:20:16
don't need to change this file now
|
| + |
| return handled; |
| } |