Index: chrome/common/chrome_paths_win.cc |
diff --git a/chrome/common/chrome_paths_win.cc b/chrome/common/chrome_paths_win.cc |
index 18073ca04759a79e61e08025286c86dd5ef4061f..6246255e9afca7dc6b1582a2894d0521ebf5fa61 100644 |
--- a/chrome/common/chrome_paths_win.cc |
+++ b/chrome/common/chrome_paths_win.cc |
@@ -119,4 +119,11 @@ bool ProcessNeedsProfileDir(const std::string& process_type) { |
return false; |
} |
+bool GetDefaultCrashDumpLocation(base::FilePath* crash_dir) { |
+ if (!GetDefaultUserDataDirectory(crash_dir)) |
+ return false; |
+ *crash_dir = crash_dir->Append(FILE_PATH_LITERAL("Crashpad")); |
+ return true; |
+} |
+ |
} // namespace chrome |