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

Unified Diff: chrome_elf/hook_util/test/hook_util_test_dll.cc

Issue 2242323002: Revert of [chrome_elf] Big cleanup and removing dependencies that recently crept in. Part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « chrome_elf/hook_util/test/hook_util_test_dll.h ('k') | chrome_elf/hook_util/thunk_getter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/hook_util/test/hook_util_test_dll.cc
diff --git a/chrome_elf/hook_util/test/hook_util_test_dll.cc b/chrome_elf/hook_util/test/hook_util_test_dll.cc
deleted file mode 100644
index 59943bc0d4fbc04f15b7df6e74b8f2c60ac09b4e..0000000000000000000000000000000000000000
--- a/chrome_elf/hook_util/test/hook_util_test_dll.cc
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2016 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 "chrome_elf/hook_util/test/hook_util_test_dll.h"
-
-namespace {
-
-int g_export_call_count = 0;
-
-} // namespace
-
-extern "C" __declspec(dllexport) void ExportedApi() {
- g_export_call_count++;
-}
-
-extern "C" __declspec(dllexport) int ExportedApiCallCount() {
- return g_export_call_count;
-}
-
-BOOL APIENTRY DllMain(HMODULE module, DWORD reason, LPVOID reserved) {
- return TRUE;
-}
« no previous file with comments | « chrome_elf/hook_util/test/hook_util_test_dll.h ('k') | chrome_elf/hook_util/thunk_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698