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

Unified Diff: chrome/install_static/user_data_dir.h

Issue 2867063002: Stability instrumentation Crashpad integration (Closed)
Patch Set: process type: auto init + crashpad handler type 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/install_static/user_data_dir.h
diff --git a/chrome/install_static/user_data_dir.h b/chrome/install_static/user_data_dir.h
index f7b35ec428ee187f02931b269401199164b9c8d8..9beb008dd8516f8ade3b61b1a7362d2bb8015574 100644
--- a/chrome/install_static/user_data_dir.h
+++ b/chrome/install_static/user_data_dir.h
@@ -35,9 +35,12 @@ bool GetUserDataDirectoryImpl(
// Retrieves the user data directory, and any invalid directory specified on the
// command line, for reporting an error to the user. These values are cached on
-// the first call. |invalid_user_data_directory| may be null if not required.
-bool GetUserDataDirectory(std::wstring* user_data_directory,
- std::wstring* invalid_user_data_directory);
+// the first call and this function should therefore be called from a single
+// module, to ensure consistency. |invalid_user_data_directory| may be null if
+// not required.
+bool GetAndCacheUserDataDirectory(const InstallConstants& mode,
+ std::wstring* user_data_directory,
+ std::wstring* invalid_user_data_directory);
} // namespace install_static

Powered by Google App Engine
This is Rietveld 408576698