Index: chrome/app/chrome_crash_reporter_client_mac.mm |
diff --git a/chrome/app/chrome_crash_reporter_client_mac.mm b/chrome/app/chrome_crash_reporter_client_mac.mm |
index 03cf48b6bb40fc3112104f4433ba1972a211890b..d3a227bc5fe81121f940d2b29f3ee89fadf7005a 100644 |
--- a/chrome/app/chrome_crash_reporter_client_mac.mm |
+++ b/chrome/app/chrome_crash_reporter_client_mac.mm |
@@ -7,7 +7,9 @@ |
#include <CoreFoundation/CoreFoundation.h> |
#include "base/mac/scoped_cftyperef.h" |
+#include "base/path_service.h" |
#include "base/strings/sys_string_conversions.h" |
+#include "chrome/common/chrome_paths.h" |
#include "components/policy/policy_constants.h" |
#if !defined(DISABLE_NACL) |
@@ -17,6 +19,11 @@ |
#include "native_client/src/trusted/service_runtime/osx/crash_filter.h" |
#endif |
+bool ChromeCrashReporterClient::GetCrashMetricsLocation( |
+ base::FilePath* metrics_dir) { |
+ return PathService::Get(chrome::DIR_USER_DATA, metrics_dir); |
+} |
+ |
bool ChromeCrashReporterClient::ReportingIsEnforcedByPolicy( |
bool* breakpad_enabled) { |
base::ScopedCFTypeRef<CFStringRef> key( |