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

Unified Diff: chrome/install_static/install_util.h

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/install_static/install_util.h
diff --git a/chrome/install_static/install_util.h b/chrome/install_static/install_util.h
index 1ee72706f0d9c11b75faaff4545fd0665a9ec2dc..af45df840e970d736d3265f435945ca3e0576a9a 100644
--- a/chrome/install_static/install_util.h
+++ b/chrome/install_static/install_util.h
@@ -159,6 +159,10 @@ bool IsNonBrowserProcess();
// False otherwise.
bool ProcessNeedsProfileDir(const std::string& process_type);
+// Returns true if the current process has the rights to access the profile.
+// False otherwise.
+bool CurrentProcessNeedsProfileDir();
+
// Populates |crash_dir| with the crash dump location, respecting modifications
// to user-data-dir.
// TODO(ananta)

Powered by Google App Engine
This is Rietveld 408576698