| Index: chrome/browser/metrics/chrome_metrics_service_client.cc
|
| diff --git a/chrome/browser/metrics/chrome_metrics_service_client.cc b/chrome/browser/metrics/chrome_metrics_service_client.cc
|
| index 291cb4b5f3c6b30314f3c95a856ebf42b89df6b4..3131bc3bdd0da5af0a8ac401e684fc8f95f787c2 100644
|
| --- a/chrome/browser/metrics/chrome_metrics_service_client.cc
|
| +++ b/chrome/browser/metrics/chrome_metrics_service_client.cc
|
| @@ -227,12 +227,13 @@ std::unique_ptr<metrics::FileMetricsProvider> CreateFileMetricsProvider(
|
| base::GlobalHistogramAllocator::ConstructFilePaths(
|
| user_data_dir, kCrashpadHistogramAllocatorName, nullptr,
|
| &active_path);
|
| - // Register data that will be populated for the current run.
|
| + // Register data that will be populated for the current run. "Active"
|
| + // files need an empty "prefs_key" because they update the file itself.
|
| file_metrics_provider->RegisterSource(
|
| active_path,
|
| metrics::FileMetricsProvider::SOURCE_HISTOGRAMS_ACTIVE_FILE,
|
| metrics::FileMetricsProvider::ASSOCIATE_CURRENT_RUN,
|
| - kCrashpadHistogramAllocatorName);
|
| + base::StringPiece());
|
| }
|
| }
|
|
|
|
|