Index: chrome/browser/plugins/plugin_observer.cc |
diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc |
index 9accbf8d0be91a0fd10b9b68dcb3fd70db21b2b9..9c91704cdec63aaf6e1b5149d3c9aaaf2b34c75d 100644 |
--- a/chrome/browser/plugins/plugin_observer.cc |
+++ b/chrome/browser/plugins/plugin_observer.cc |
@@ -15,7 +15,7 @@ |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/infobars/simple_alert_infobar_delegate.h" |
#include "chrome/browser/lifetime/application_lifetime.h" |
-#include "chrome/browser/metrics/metrics_services_manager.h" |
+#include "chrome/browser/metrics/metrics_service.h" |
#include "chrome/browser/plugins/plugin_finder.h" |
#include "chrome/browser/plugins/plugin_infobar_delegates.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -458,8 +458,7 @@ |
} |
void PluginObserver::OnCouldNotLoadPlugin(const base::FilePath& plugin_path) { |
- g_browser_process->GetMetricsServicesManager()->OnPluginLoadingError( |
- plugin_path); |
+ g_browser_process->metrics_service()->LogPluginLoadingError(plugin_path); |
base::string16 plugin_name = |
PluginService::GetInstance()->GetPluginDisplayNameByPath(plugin_path); |
SimpleAlertInfoBarDelegate::Create( |