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

Unified Diff: chrome/install_static/install_util.h

Issue 2884333004: Relocate Windows ProcessNeedsProfileDir to install_static (Closed)
Patch Set: Remove do not submits 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 7be3400b00ce59d47027a617fd84c78127d9491b..f020579256a3bfd8c26e84a609d9f9d83a9b0ab1 100644
--- a/chrome/install_static/install_util.h
+++ b/chrome/install_static/install_util.h
@@ -23,8 +23,11 @@ struct InstallConstants;
enum class ProcessType {
UNINITIALIZED,
- NON_BROWSER_PROCESS,
+ OTHER_PROCESS,
BROWSER_PROCESS,
+ CLOUD_PRINT_SERVICE_PROCESS,
+ NACL_BROKER_PROCESS,
+ NACL_LOADER_PROCESS,
};
// Registry key to store the stats/crash sampling state of Chrome. If set to 1,
@@ -158,6 +161,10 @@ void InitializeProcessType();
// process. False otherwise.
bool IsNonBrowserProcess();
+// Returns true if the |process_type| has the rights to access the profile.
+// 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)

Powered by Google App Engine
This is Rietveld 408576698