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

Unified Diff: app/win/iat_patch_function.cc

Issue 3836005: Move pe_image and registry from base to base/win and use the namespace. It re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | « app/win/iat_patch_function.h ('k') | base/base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/win/iat_patch_function.cc
===================================================================
--- app/win/iat_patch_function.cc (revision 62848)
+++ app/win/iat_patch_function.cc (working copy)
@@ -5,6 +5,7 @@
#include "app/win/iat_patch_function.h"
#include "base/logging.h"
+#include "base/win/pe_image.h"
namespace app {
namespace win {
@@ -79,7 +80,7 @@
return error;
}
-bool InterceptEnumCallback(const PEImage &image, const char* module,
+bool InterceptEnumCallback(const base::win::PEImage& image, const char* module,
DWORD ordinal, const char* name, DWORD hint,
IMAGE_THUNK_DATA* iat, void* cookie) {
InterceptFunctionInformation* intercept_information =
@@ -147,7 +148,7 @@
return ERROR_INVALID_PARAMETER;
}
- PEImage target_image(module_handle);
+ base::win::PEImage target_image(module_handle);
if (!target_image.VerifyMagic()) {
NOTREACHED();
return ERROR_INVALID_PARAMETER;
« no previous file with comments | « app/win/iat_patch_function.h ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698