| Index: components/crash/content/app/crashpad_mac.mm
|
| diff --git a/components/crash/content/app/crashpad_mac.mm b/components/crash/content/app/crashpad_mac.mm
|
| index 49f04d6ef9c2c33e4313298b24f8e7ae7e3066e1..3223dddc38df570cb6c3eff4b931f07a9a66d46b 100644
|
| --- a/components/crash/content/app/crashpad_mac.mm
|
| +++ b/components/crash/content/app/crashpad_mac.mm
|
| @@ -35,6 +35,7 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client,
|
| bool browser_process,
|
| bool embedded_handler) {
|
| base::FilePath database_path; // Only valid in the browser process.
|
| + base::FilePath metrics_path; // Only valid in the browser process.
|
| DCHECK(!embedded_handler); // This is not used on Mac.
|
|
|
| if (initial_client) {
|
| @@ -46,6 +47,7 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client,
|
| // Is there a way to recover if this fails?
|
| CrashReporterClient* crash_reporter_client = GetCrashReporterClient();
|
| crash_reporter_client->GetCrashDumpLocation(&database_path);
|
| + crash_reporter_client->GetCrashMetricsLocation(&metrics_path);
|
|
|
| #if defined(GOOGLE_CHROME_BUILD) && defined(OFFICIAL_BUILD)
|
| // Only allow the possibility of report upload in official builds. This
|
| @@ -91,6 +93,7 @@ base::FilePath PlatformCrashpadInitialization(bool initial_client,
|
| crashpad::CrashpadClient crashpad_client;
|
| bool result = crashpad_client.StartHandler(handler_path,
|
| database_path,
|
| + metrics_path,
|
| url,
|
| process_annotations,
|
| arguments,
|
|
|