| Index: chrome_elf/chrome_elf_util.h
|
| diff --git a/chrome_elf/chrome_elf_util.h b/chrome_elf/chrome_elf_util.h
|
| index e87dc7fab7023a9580e874c771536628cb41186f..942ae17bc6b6e6637b6e6008c67534b793000310 100644
|
| --- a/chrome_elf/chrome_elf_util.h
|
| +++ b/chrome_elf/chrome_elf_util.h
|
| @@ -7,6 +7,12 @@
|
|
|
| #include "base/strings/string16.h"
|
|
|
| +enum ProcessType {
|
| + UNINITIALIZED,
|
| + NON_BROWSER_PROCESS,
|
| + BROWSER_PROCESS,
|
| +};
|
| +
|
| // Returns true if |exe_path| points to a Chrome installed in an SxS
|
| // installation.
|
| bool IsCanary(const wchar_t* exe_path);
|
| @@ -24,8 +30,14 @@ bool AreUsageStatsEnabled(const wchar_t* exe_path);
|
| // if stats collecting is permitted by this policy and false if not.
|
| bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled);
|
|
|
| +// Initializes |g_is_non_browser_process| which stores whether or not the
|
| +// current process is the main browser process.
|
| +void InitializeIsNonBrowserProcess();
|
| +
|
| // Returns true if invoked in a Chrome process other than the main browser
|
| // process. False otherwise.
|
| bool IsNonBrowserProcess();
|
|
|
| +extern ProcessType g_is_non_browser_process;
|
| +
|
| #endif // CHROME_ELF_CHROME_ELF_UTIL_H_
|
|
|