Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome_elf / blacklist / test / blacklist_test_main_dll.cc
blob8c01d552975001e47c09f7c9af9239bbd5d5e81b
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include <windows.h>
7 #include "chrome_elf/blacklist/blacklist.h"
8 #include "chrome_elf/chrome_elf_util.h"
10 extern "C" void InitBlacklistTestDll() {
13 BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
14 if (reason == DLL_PROCESS_ATTACH) {
15 InitializeProcessType();
16 blacklist::Initialize(true); // force always on, no beacon
19 return TRUE;