Chromium Code Reviews| Index: chrome/browser/metrics/metrics_service.cc |
| diff --git a/chrome/browser/metrics/metrics_service.cc b/chrome/browser/metrics/metrics_service.cc |
| index 5326973085ee8cfe2f352d1877e4aefd3cea4a3c..b98920fa98110939903ec8d856d5b9a4a98e9fce 100644 |
| --- a/chrome/browser/metrics/metrics_service.cc |
| +++ b/chrome/browser/metrics/metrics_service.cc |
| @@ -1391,13 +1391,6 @@ void MetricsService::LogCleanShutdown() { |
| MetricsService::SHUTDOWN_COMPLETE); |
| } |
| -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 |
| -} |
| - |
| bool MetricsService::ShouldLogEvents() { |
| // We simply don't log events to UMA if there is a single incognito |
| // session visible. The problem is that we always notify using the orginal |
| @@ -1414,7 +1407,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(); |
|
Alexei Svitkine (slow)
2014/05/29 20:47:44
I know this is what the current code does, but I'm
blundell
2014/05/30 14:42:10
I think you're better suited to make that change.
|
| } |