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_ |