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

Unified Diff: chrome_elf/ntdll_cache.h

Issue 183833004: Make chrome_elf use thunks instead of function pointers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments, add scoped ptr Created 6 years, 9 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/create_file/chrome_create_file_unittest.cc ('k') | chrome_elf/ntdll_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/ntdll_cache.h
diff --git a/chrome_elf/ntdll_cache.h b/chrome_elf/ntdll_cache.h
index 4608cf19367aca95dc616350e355d56c5a05c545..5e4fb2bf7a33d54fa266ff03d77181c2b5f90369 100644
--- a/chrome_elf/ntdll_cache.h
+++ b/chrome_elf/ntdll_cache.h
@@ -7,9 +7,15 @@
#include "chrome_elf/chrome_elf_types.h"
+namespace sandbox {
+struct ThunkData;
+}
+
// Caches the addresses of all functions exported by ntdll in |g_ntdll_lookup|.
void InitCache();
extern FunctionLookupTable g_ntdll_lookup;
+extern sandbox::ThunkData g_nt_thunk_storage;
+
#endif // CHROME_ELF_NTDLL_CACHE_H_
« no previous file with comments | « chrome_elf/create_file/chrome_create_file_unittest.cc ('k') | chrome_elf/ntdll_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698