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