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 |