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

Unified Diff: chrome_elf/chrome_elf_util.h

Issue 1134253002: Revert of Cache IsNonBrowserProcess values, so we only take a loader-lock the first time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_elf/chrome_elf_main.cc ('k') | chrome_elf/chrome_elf_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/chrome_elf_util.h
diff --git a/chrome_elf/chrome_elf_util.h b/chrome_elf/chrome_elf_util.h
index 7e4cd0cd82198285ae522f2b437381113d8029b2..e87dc7fab7023a9580e874c771536628cb41186f 100644
--- a/chrome_elf/chrome_elf_util.h
+++ b/chrome_elf/chrome_elf_util.h
@@ -6,12 +6,6 @@
#define CHROME_ELF_CHROME_ELF_UTIL_H_
#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.
@@ -30,14 +24,8 @@
// if stats collecting is permitted by this policy and false if not.
bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled);
-// Initializes |g_process_type| which stores whether or not the current process
-// is the main browser process.
-void InitializeProcessType();
-
// Returns true if invoked in a Chrome process other than the main browser
// process. False otherwise.
bool IsNonBrowserProcess();
-extern ProcessType g_process_type;
-
#endif // CHROME_ELF_CHROME_ELF_UTIL_H_
« no previous file with comments | « chrome_elf/chrome_elf_main.cc ('k') | chrome_elf/chrome_elf_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698