| Index: chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
|
| diff --git a/chrome_elf/chrome_redirects_main.cc b/chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
|
| similarity index 65%
|
| copy from chrome_elf/chrome_redirects_main.cc
|
| copy to chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
|
| index 960d07c8806d668315bc2e10f9d89f056c37c0a6..e0ad0d061a7d657c61f094dcfb8ae35436bcfcc7 100644
|
| --- a/chrome_elf/chrome_redirects_main.cc
|
| +++ b/chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
|
| @@ -1,14 +1,15 @@
|
| -// Copyright 2014 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.
|
| -
|
| -#include <windows.h>
|
| -
|
| -#include "chrome_elf/ntdll_cache.h"
|
| -
|
| -BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
|
| - if (reason == DLL_PROCESS_ATTACH)
|
| - InitCache();
|
| -
|
| - return TRUE;
|
| -}
|
| +// Copyright 2014 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.
|
| +
|
| +#include <windows.h>
|
| +
|
| +extern "C" {
|
| +// Have a dummy export so that the module gets an export table entry.
|
| +void DummyExport() {
|
| +}
|
| +}
|
| +
|
| +BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
|
| + return true;
|
| +}
|
|
|