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

Unified Diff: chrome_elf/chrome_elf_util.h

Issue 1656453002: [Chrome ELF] Early browser security support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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_elf/chrome_elf_util.h
diff --git a/chrome_elf/chrome_elf_util.h b/chrome_elf/chrome_elf_util.h
index 673943d65139fb0fba627c046e5745f135c235ae..f47a5664574a06d893301ac11e14a602874223da 100644
--- a/chrome_elf/chrome_elf_util.h
+++ b/chrome_elf/chrome_elf_util.h
@@ -5,6 +5,9 @@
#ifndef CHROME_ELF_CHROME_ELF_UTIL_H_
#define CHROME_ELF_CHROME_ELF_UTIL_H_
+#include <Windows.h>
Will Harris 2016/01/30 01:19:05 chromium convention is not to capitalize even thou
penny 2016/02/01 21:31:52 Done.
+#include <VersionHelpers.h> // windows.h must be before.
+
#include "base/strings/string16.h"
enum class ProcessType {
@@ -38,6 +41,9 @@ void InitializeProcessType();
// process. False otherwise.
bool IsNonBrowserProcess();
+// Setup any early browser-process security.
+void EarlyBrowserSecurity();
+
// Caches the |ProcessType| of the current process.
extern ProcessType g_process_type;

Powered by Google App Engine
This is Rietveld 408576698