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

Unified Diff: base/win/delay_load_hook.h

Issue 12295040: Stop delay loading user32.dll from chrome.dll on x86/Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: base/win/delay_load_hook.h
diff --git a/base/win/delay_load_hook.h b/base/win/delay_load_hook.h
new file mode 100644
index 0000000000000000000000000000000000000000..87001d50b8f457cbe2ac437bef3dd2cd5b2b1ae6
--- /dev/null
+++ b/base/win/delay_load_hook.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2013 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 CHROME_APP_DELAY_LOAD_HOOK_H_
+#define CHROME_APP_DELAY_LOAD_HOOK_H_
+
+#include <windows.h>
+
+// Fowd.
+struct DelayLoadInfo;
+
+namespace base {
+namespace win {
+// In release builds, the delay load hook redirects import entries to DLLs
+// named "FOO-delay.dll" to "FOO.dll".
+FARPROC WINAPI ChromeDelayLoadHook(unsigned reason, DelayLoadInfo* info);
+
+} // namespace win
+} // namespace base
+
+#endif // CHROME_APP_DELAY_LOAD_HOOK_H_
« no previous file with comments | « base/base.gypi ('k') | base/win/delay_load_hook.cc » ('j') | base/win/delay_load_hook.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698