| Index: components/browser_watcher/watcher_metrics_provider_win.cc
|
| diff --git a/components/browser_watcher/watcher_metrics_provider_win.cc b/components/browser_watcher/watcher_metrics_provider_win.cc
|
| index c6ab669a03d5efef3a5a21f96630b127ea6ea490..c5c3b7dc25d1bb2008dcc729736f19f4a5be4853 100644
|
| --- a/components/browser_watcher/watcher_metrics_provider_win.cc
|
| +++ b/components/browser_watcher/watcher_metrics_provider_win.cc
|
| @@ -217,12 +217,14 @@ WatcherMetricsProviderWin::WatcherMetricsProviderWin(
|
| const base::string16& registry_path,
|
| const base::FilePath& user_data_dir,
|
| const base::FilePath& crash_dir,
|
| + const GetExecutableDetailsCallback& exe_details_cb,
|
| base::TaskRunner* io_task_runner)
|
| : recording_enabled_(false),
|
| cleanup_scheduled_(false),
|
| registry_path_(registry_path),
|
| user_data_dir_(user_data_dir),
|
| crash_dir_(crash_dir),
|
| + exe_details_cb_(exe_details_cb),
|
| io_task_runner_(io_task_runner),
|
| weak_ptr_factory_(this) {
|
| DCHECK(io_task_runner_);
|
| @@ -314,7 +316,7 @@ void WatcherMetricsProviderWin::CollectPostmortemReportsOnBlockingPool() {
|
| LogCollectionInitStatus(INIT_SUCCESS);
|
|
|
| // TODO(manzagop): fix incorrect version attribution on update.
|
| - PostmortemReportCollector collector;
|
| + PostmortemReportCollector collector(exe_details_cb_);
|
| collector.CollectAndSubmitForUpload(stability_dir, GetStabilityFilePattern(),
|
| excluded_debug_files,
|
| crashpad_database.get());
|
|
|