Index: content/worker/worker_webkitplatformsupport_impl.cc |
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc |
index 2f03da85c172a1310c989812f0c9cc76caf5cd77..c4810ee3b8bf1f28866892812d5ada9ec6c5a3fb 100644 |
--- a/content/worker/worker_webkitplatformsupport_impl.cc |
+++ b/content/worker/worker_webkitplatformsupport_impl.cc |
@@ -8,12 +8,13 @@ |
#include "base/platform_file.h" |
#include "base/utf_string_conversions.h" |
#include "content/common/database_util.h" |
+#include "content/common/file_utilities_messages.h" |
#include "content/common/fileapi/webblobregistry_impl.h" |
#include "content/common/fileapi/webfilesystem_impl.h" |
-#include "content/common/file_utilities_messages.h" |
#include "content/common/indexed_db/proxy_webidbfactory_impl.h" |
#include "content/common/mime_registry_messages.h" |
#include "content/common/webmessageportchannel_impl.h" |
+#include "content/public/browser/user_metrics.h" |
jochen (gone - plz use gerrit)
2012/05/30 08:28:09
you can't include browser headers in worker or ren
|
#include "content/worker/worker_thread.h" |
#include "ipc/ipc_sync_message_filter.h" |
#include "net/base/mime_util.h" |
@@ -50,6 +51,8 @@ class WorkerWebKitPlatformSupportImpl::FileUtilities |
}; |
static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg) { |
+ content::RecordAction(UserMetricsAction("SendSyncIPC_Worker")); |
+ |
WorkerThread* worker_thread = WorkerThread::current(); |
if (worker_thread) |
return worker_thread->Send(msg); |