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

Unified Diff: chrome_elf/chrome_elf_main.cc

Issue 2867063002: Stability instrumentation Crashpad integration (Closed)
Patch Set: MakeProductDetails checks CurrentProcessNeedsProfileDir 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
Index: chrome_elf/chrome_elf_main.cc
diff --git a/chrome_elf/chrome_elf_main.cc b/chrome_elf/chrome_elf_main.cc
index 926668c54d3015e224004c125cc70f3237fd2253..9fbe197cdb656f89f75e0d98d1b79c1e3b8671ae 100644
--- a/chrome_elf/chrome_elf_main.cc
+++ b/chrome_elf/chrome_elf_main.cc
@@ -34,8 +34,9 @@ extern "C" void GetUserDataDirectoryThunk(wchar_t* user_data_dir,
wchar_t* invalid_user_data_dir,
size_t invalid_user_data_dir_length) {
std::wstring user_data_dir_str, invalid_user_data_dir_str;
- bool ret = install_static::GetUserDataDirectory(&user_data_dir_str,
- &invalid_user_data_dir_str);
+ bool ret = install_static::GetUserDataDirectory(
+ install_static::InstallDetails::Get().mode(), &user_data_dir_str,
+ &invalid_user_data_dir_str);
assert(ret);
install_static::IgnoreUnused(ret);
wcsncpy_s(user_data_dir, user_data_dir_length, user_data_dir_str.c_str(),

Powered by Google App Engine
This is Rietveld 408576698