| Index: chrome/browser/plugins/plugin_observer.cc
|
| diff --git a/chrome/browser/plugins/plugin_observer.cc b/chrome/browser/plugins/plugin_observer.cc
|
| index 0848e1df9f4d67f2b277126a87bcc039d6426579..423e122a1763321acb6c9aa082877a7fb7ca7131 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_service.h"
|
| +#include "chrome/browser/metrics/plugin_metrics_provider.h"
|
| #include "chrome/browser/plugins/plugin_finder.h"
|
| #include "chrome/browser/plugins/plugin_infobar_delegates.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -456,7 +456,8 @@ void PluginObserver::OnOpenAboutPlugins() {
|
| }
|
|
|
| void PluginObserver::OnCouldNotLoadPlugin(const base::FilePath& plugin_path) {
|
| - g_browser_process->metrics_service()->LogPluginLoadingError(plugin_path);
|
| + g_browser_process->plugin_metrics_provider()->LogPluginLoadingError(
|
| + plugin_path);
|
| base::string16 plugin_name =
|
| PluginService::GetInstance()->GetPluginDisplayNameByPath(plugin_path);
|
| SimpleAlertInfoBarDelegate::Create(
|
|
|