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

Unified Diff: snapshot/win/pe_image_reader_test.cc

Issue 1586433003: Adding an API to read module annotations in snapshot.gyp (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Last comments 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: snapshot/win/pe_image_reader_test.cc
diff --git a/snapshot/win/pe_image_reader_test.cc b/snapshot/win/pe_image_reader_test.cc
index 46795cfba18dcda9ad811230643823251ee12b83..704b6591351cb0ee9fded5cda19057b7470d142a 100644
--- a/snapshot/win/pe_image_reader_test.cc
+++ b/snapshot/win/pe_image_reader_test.cc
@@ -22,7 +22,7 @@
#include "gtest/gtest.h"
#include "snapshot/win/process_reader_win.h"
#include "test/errors.h"
-#include "util/win/get_function.h"
+#include "util/win/get_module_information.h"
#include "util/win/module_version.h"
#include "util/win/process_info.h"
@@ -32,15 +32,6 @@ namespace crashpad {
namespace test {
namespace {
-BOOL CrashpadGetModuleInformation(HANDLE process,
- HMODULE module,
- MODULEINFO* module_info,
- DWORD cb) {
- static const auto get_module_information =
- GET_FUNCTION_REQUIRED(L"psapi.dll", ::GetModuleInformation);
- return get_module_information(process, module, module_info, cb);
-}
-
TEST(PEImageReader, DebugDirectory) {
PEImageReader pe_image_reader;
ProcessReaderWin process_reader;

Powered by Google App Engine
This is Rietveld 408576698