| 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)
|
|
|