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

Unified Diff: base/win/iat_patch_function.h

Issue 7263009: Reland "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: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base.gypi ('k') | base/win/iat_patch_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/iat_patch_function.h
diff --git a/app/win/iat_patch_function.h b/base/win/iat_patch_function.h
similarity index 87%
rename from app/win/iat_patch_function.h
rename to base/win/iat_patch_function.h
index 4a2aa0c69b25b5c5b7047797b755bbabab541d91..3f9acc73aae5ad646f02f490049ea17562a0a8e6 100644
--- a/app/win/iat_patch_function.h
+++ b/base/win/iat_patch_function.h
@@ -1,16 +1,17 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APP_WIN_IAT_PATCH_FUNCTION_H_
-#define APP_WIN_IAT_PATCH_FUNCTION_H_
+#ifndef BASE_WIN_IAT_PATCH_FUNCTION_H_
+#define BASE_WIN_IAT_PATCH_FUNCTION_H_
#pragma once
#include <windows.h>
+#include "base/base_api.h"
#include "base/basictypes.h"
-namespace app {
+namespace base {
namespace win {
// A class that encapsulates Import Address Table patching helpers and restores
@@ -20,7 +21,7 @@ namespace win {
// This is the case when, for example, we want to intercept
// CertDuplicateCertificateContext function (exported from crypt32.dll) called
// by wininet.dll.
-class IATPatchFunction {
+class BASE_API IATPatchFunction {
public:
IATPatchFunction();
~IATPatchFunction();
@@ -67,6 +68,6 @@ class IATPatchFunction {
};
} // namespace win
-} // namespace app
+} // namespace base
-#endif // APP_WIN_IAT_PATCH_FUNCTION_H_
+#endif // BASE_WIN_IAT_PATCH_FUNCTION_H_
« no previous file with comments | « base/base.gypi ('k') | base/win/iat_patch_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698