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

Unified Diff: chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc

Issue 406043003: Adding the VerifyModule function (and helpers) to safe browsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/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 71%
copy from chrome_elf/chrome_redirects_main.cc
copy to chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
index 960d07c8806d668315bc2e10f9d89f056c37c0a6..4d370399315ad3706c4e724348b48da62caaadb1 100644
--- a/chrome_elf/chrome_redirects_main.cc
+++ b/chrome/browser/safe_browsing/verifier_test/verifier_test_dll.cc
@@ -1,14 +1,9 @@
-// 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>
+
+BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
+ return true;
+}

Powered by Google App Engine
This is Rietveld 408576698