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

Unified Diff: chrome/install_static/install_util.h

Issue 2867063002: Stability instrumentation Crashpad integration (Closed)
Patch Set: merge 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
« no previous file with comments | « chrome/install_static/install_details.cc ('k') | chrome/install_static/install_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..77f47a6437bf8ecac856f37b3fcb644c51e4c78a 100644
--- a/chrome/install_static/install_util.h
+++ b/chrome/install_static/install_util.h
@@ -148,9 +148,6 @@ bool ReportingIsEnforcedByPolicy(bool* crash_reporting_enabled);
// process is the main browser process.
void InitializeProcessType();
-// Returns true if the process type is initialized. False otherwise.
-bool IsProcessTypeInitialized();
-
// Returns true if invoked in a Chrome process other than the main browser
// process. False otherwise.
bool IsNonBrowserProcess();
@@ -159,11 +156,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
« no previous file with comments | « chrome/install_static/install_details.cc ('k') | chrome/install_static/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698