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

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: Nit fixes & CreateRegKey now recursive. Created 4 years, 6 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/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);

Powered by Google App Engine
This is Rietveld 408576698