diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-17 04:41:54 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-17 04:41:54 +0000 |
commit | 2d650398a9afa1fc3c168aed736daa13901809a8 (patch) | |
tree | 6dc4a48b54cdca7f0946ac097353b5c1ca733b40 /app/win | |
parent | df0ca6c858762b101bf424ff6c0522409fa195fc (diff) | |
download | chromium_src-2d650398a9afa1fc3c168aed736daa13901809a8.zip chromium_src-2d650398a9afa1fc3c168aed736daa13901809a8.tar.gz chromium_src-2d650398a9afa1fc3c168aed736daa13901809a8.tar.bz2 |
Move pe_image and registry from base to base/win and use the namespace. It removes windows_message_list which isn't used.
This keeps a stub for registry in the old location until we can update that.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/3836005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/win')
-rw-r--r-- | app/win/iat_patch_function.cc | 5 | ||||
-rw-r--r-- | app/win/iat_patch_function.h | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/win/iat_patch_function.cc b/app/win/iat_patch_function.cc index 3f90d81..a78a357 100644 --- a/app/win/iat_patch_function.cc +++ b/app/win/iat_patch_function.cc @@ -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 @@ DWORD ModifyCode(void* old_code, void* new_code, int length) { 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 @@ DWORD InterceptImportedFunction(HMODULE module_handle, 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; diff --git a/app/win/iat_patch_function.h b/app/win/iat_patch_function.h index 37961dd..4a2aa0c 100644 --- a/app/win/iat_patch_function.h +++ b/app/win/iat_patch_function.h @@ -9,7 +9,6 @@ #include <windows.h> #include "base/basictypes.h" -#include "base/pe_image.h" namespace app { namespace win { |