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

Unified Diff: chrome/app/delay_load_hook_win.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: Make sure both MSVS and ninja builds link correctly. Created 7 years, 9 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 | « chrome/app/delay_load_hook_unittest_win.cc ('k') | chrome/app/delay_load_hook_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/delay_load_hook_win.h
diff --git a/chrome/app/delay_load_hook_win.h b/chrome/app/delay_load_hook_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..38c406a7923fc280ac9fc2833fd58cdb6bdcb474
--- /dev/null
+++ b/chrome/app/delay_load_hook_win.h
@@ -0,0 +1,18 @@
+// 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_WIN_H_
+#define CHROME_APP_DELAY_LOAD_HOOK_WIN_H_
+
+#include <windows.h>
+
+// Fowd.
+struct DelayLoadInfo;
+
+// In release builds, the delay load hook redirects import entries to DLLs
+// named "FOO-delay.dll" to "FOO.dll".
+extern "C" FARPROC WINAPI ChromeDelayLoadHook(unsigned reason,
+ DelayLoadInfo* info);
+
+#endif // CHROME_APP_DELAY_LOAD_HOOK_WIN_H_
« no previous file with comments | « chrome/app/delay_load_hook_unittest_win.cc ('k') | chrome/app/delay_load_hook_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698