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

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: Reduce scope to chrome.dll/x86. Address review comments. 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
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..44174eef4462d16625e1bd2490aa965bd350f112
--- /dev/null
+++ b/chrome/app/delay_load_hook_win.h
@@ -0,0 +1,17 @@
+// 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".
+FARPROC WINAPI ChromeDelayLoadHook(unsigned reason, DelayLoadInfo* info);
+
+#endif // CHROME_APP_DELAY_LOAD_HOOK_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698