| Index: chrome/browser/extensions/extension_function.cc
|
| diff --git a/chrome/browser/extensions/extension_function.cc b/chrome/browser/extensions/extension_function.cc
|
| index 2e2d702cdb8f63a53f43160a1d2c63b9ac119b0e..1854de5d2f41926724506ccd240c09c59f0dada7 100644
|
| --- a/chrome/browser/extensions/extension_function.cc
|
| +++ b/chrome/browser/extensions/extension_function.cc
|
| @@ -12,13 +12,14 @@
|
| #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
|
| #include "chrome/common/extensions/extension_messages.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| -#include "content/browser/user_metrics.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/notification_types.h"
|
| #include "content/public/browser/render_process_host.h"
|
| +#include "content/public/browser/user_metrics.h"
|
| #include "content/public/common/result_codes.h"
|
|
|
| using content::BrowserThread;
|
| +using content::UserMetricsAction;
|
|
|
| // static
|
| void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) {
|
| @@ -135,7 +136,7 @@ void ExtensionFunction::HandleBadMessage(base::ProcessHandle process) {
|
| CHECK(false);
|
| } else {
|
| NOTREACHED();
|
| - UserMetrics::RecordAction(UserMetricsAction("BadMessageTerminate_EFD"));
|
| + content::RecordAction(UserMetricsAction("BadMessageTerminate_EFD"));
|
| if (process)
|
| base::KillProcess(process, content::RESULT_CODE_KILLED_BAD_MESSAGE,
|
| false);
|
|
|