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

Unified Diff: chrome_elf/hook_util/thunk_getter.cc

Issue 1841573002: [Chrome ELF] New NT registry API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PRESUBMIT to allow chrome_elf directory files to use wstring. Created 4 years, 5 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/hook_util/thunk_getter.h ('k') | chrome_elf/nt_registry/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/hook_util/thunk_getter.cc
diff --git a/chrome_elf/thunk_getter.cc b/chrome_elf/hook_util/thunk_getter.cc
similarity index 98%
rename from chrome_elf/thunk_getter.cc
rename to chrome_elf/hook_util/thunk_getter.cc
index 64cb0b8aaa2b83b3115e5bf8713ccf8b3a66fc9b..5d15ea02fb7f27ce880c5d883a5c4e00e6b6badf 100644
--- a/chrome_elf/thunk_getter.cc
+++ b/chrome_elf/hook_util/thunk_getter.cc
@@ -5,7 +5,6 @@
#include <stdint.h>
#include <windows.h>
-#include "base/macros.h"
#include "sandbox/win/src/interception_internal.h"
#include "sandbox/win/src/internal_types.h"
#include "sandbox/win/src/sandbox_utils.h"
@@ -30,7 +29,11 @@ enum Version {
// WOW64_DISABLED for both "32-bit Chrome on 32-bit Windows" and "64-bit
// Chrome on 64-bit Windows". WOW64_UNKNOWN means "an error occurred", e.g.
// the process does not have sufficient access rights to determine this.
-enum WOW64Status { WOW64_DISABLED, WOW64_ENABLED, WOW64_UNKNOWN, };
+enum WOW64Status {
+ WOW64_DISABLED,
+ WOW64_ENABLED,
+ WOW64_UNKNOWN,
+};
WOW64Status GetWOW64StatusForCurrentProcess() {
typedef BOOL(WINAPI * IsWow64ProcessFunc)(HANDLE, PBOOL);
« no previous file with comments | « chrome_elf/hook_util/thunk_getter.h ('k') | chrome_elf/nt_registry/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698