Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3897)

Unified Diff: chrome/browser/metrics/chrome_metrics_service_client.cc

Issue 2888563005: Added support for 'spare' file that can be used at startup. (Closed)
Patch Set: added comment about spare file on non-android Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chrome_browser_field_trials.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ce0c71ad903b26deaa648d09dba9ababcf83a254..01fb0120fd9ed1111d5076a39d9b19d067c4ca29 100644
--- a/chrome/browser/metrics/chrome_metrics_service_client.cc
+++ b/chrome/browser/metrics/chrome_metrics_service_client.cc
@@ -181,8 +181,8 @@ void RegisterOrRemovePreviousRunMetricsFile(
scoped_refptr<base::TaskRunner> task_runner,
metrics::FileMetricsProvider* file_metrics_provider) {
base::FilePath metrics_file;
- base::GlobalHistogramAllocator::ConstructFilePaths(dir, metrics_name,
- &metrics_file, nullptr);
+ base::GlobalHistogramAllocator::ConstructFilePaths(
+ dir, metrics_name, &metrics_file, nullptr, nullptr);
if (metrics_reporting_enabled) {
// Enable reading any existing saved metrics.
@@ -237,8 +237,8 @@ std::unique_ptr<metrics::FileMetricsProvider> CreateFileMetricsProvider(
if (metrics_reporting_enabled) {
base::FilePath active_path;
base::GlobalHistogramAllocator::ConstructFilePaths(
- user_data_dir, kCrashpadHistogramAllocatorName, nullptr,
- &active_path);
+ user_data_dir, kCrashpadHistogramAllocatorName, nullptr, &active_path,
+ nullptr);
// 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(
« no previous file with comments | « chrome/browser/chrome_browser_field_trials.cc ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698