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

Side by Side Diff: base/win/iat_patch_function.cc

Issue 7231016: Move app/win/* files to base/win/, ui/base/win and chrome/common/ directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: brettw review Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/win/iat_patch_function.h ('k') | base/win/scoped_com_initializer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "app/win/iat_patch_function.h" 5 #include "base/win/iat_patch_function.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/win/pe_image.h" 8 #include "base/win/pe_image.h"
9 9
10 namespace app { 10 namespace base {
11 namespace win { 11 namespace win {
12 12
13 namespace { 13 namespace {
14 14
15 struct InterceptFunctionInformation { 15 struct InterceptFunctionInformation {
16 bool finished_operation; 16 bool finished_operation;
17 const char* imported_from_module; 17 const char* imported_from_module;
18 const char* function_name; 18 const char* function_name;
19 void* new_function; 19 void* new_function;
20 void** old_function; 20 void** old_function;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 FreeLibrary(module_handle_); 268 FreeLibrary(module_handle_);
269 module_handle_ = NULL; 269 module_handle_ = NULL;
270 intercept_function_ = NULL; 270 intercept_function_ = NULL;
271 original_function_ = NULL; 271 original_function_ = NULL;
272 iat_thunk_ = NULL; 272 iat_thunk_ = NULL;
273 273
274 return error; 274 return error;
275 } 275 }
276 276
277 } // namespace win 277 } // namespace win
278 } // namespace app 278 } // namespace base
OLDNEW
« no previous file with comments | « base/win/iat_patch_function.h ('k') | base/win/scoped_com_initializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698