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

Unified Diff: chrome/install_static/install_util.h

Issue 2867063002: Stability instrumentation Crashpad integration (Closed)
Patch Set: clang compile 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/install_util.h
diff --git a/chrome/install_static/install_util.h b/chrome/install_static/install_util.h
index 1ee72706f0d9c11b75faaff4545fd0665a9ec2dc..35cfbc7c1ef08512a3546eec77efc47d23eedad8 100644
--- a/chrome/install_static/install_util.h
+++ b/chrome/install_static/install_util.h
@@ -159,11 +159,21 @@ bool IsNonBrowserProcess();
// False otherwise.
bool ProcessNeedsProfileDir(const std::string& process_type);
-// Populates |crash_dir| with the crash dump location, respecting modifications
-// to user-data-dir.
-// TODO(ananta)
-// http://crbug.com/604923
-// Unify this with the Browser Distribution code.
+// Returns true if the current process has the rights to access the profile.
+// False otherwise.
+bool CurrentProcessNeedsProfileDir();
+
+// Retrieves the user data directory, or an empty string on failure.
+std::wstring GetUserDataDirectory();
+
+// Retrieves an invalid user data directory specified by the user, or an empty
+// string.
+std::wstring GetInvalidUserDataDirectory();
+
+// Returns the crash dump location, respecting modifications to user-data-dir,
+// or the empty string on failure.
+// TODO(ananta): Unify this with the Browser Distribution code.
+// http://crbug.com/604923
std::wstring GetCrashDumpLocation();
// Returns the contents of the specified |variable_name| from the environment

Powered by Google App Engine
This is Rietveld 408576698