| Index: chrome/browser/metrics/metrics_service.cc
|
| diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc
|
| index 9f594dc76f42384f49e543e4c0d1b715a7c14a87..f530d591a967d7c20ca630c512a64457b9d7e156 100644
|
| --- a/chrome/browser/metrics/metrics_service.cc
|
| +++ b/chrome/browser/metrics/metrics_service.cc
|
| @@ -1305,7 +1305,6 @@ void MetricsService::LogCleanShutdown() {
|
|
|
| void MetricsService::LogPluginLoadingError(const base::FilePath& plugin_path) {
|
| #if defined(ENABLE_PLUGINS)
|
| - // TODO(asvitkine): Move this out of here.
|
| plugin_metrics_provider_->LogPluginLoadingError(plugin_path);
|
| #endif
|
| }
|
| @@ -1326,7 +1325,6 @@ void MetricsService::RecordBooleanPrefValue(const char* path, bool value) {
|
| void MetricsService::RecordCurrentState(PrefService* pref) {
|
| pref->SetInt64(prefs::kStabilityLastTimestampSec, Time::Now().ToTimeT());
|
|
|
| -#if defined(ENABLE_PLUGINS)
|
| - plugin_metrics_provider_->RecordPluginChanges();
|
| -#endif
|
| + for (size_t i = 0; i < metrics_providers_.size(); ++i)
|
| + metrics_providers_[i]->RecordCurrentState();
|
| }
|
|
|