summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-10 18:12:28 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-10 18:12:28 +0000
commitd998a442d756c49dfc50bddb9bfd6f4906953ea2 (patch)
tree6f9636b7c0ed0f38976780035b0043d81a613ccd /content/common
parent38cb2d9d4f0513c1af889247f7ee47c80bf055b9 (diff)
downloadchromium_src-d998a442d756c49dfc50bddb9bfd6f4906953ea2.zip
chromium_src-d998a442d756c49dfc50bddb9bfd6f4906953ea2.tar.gz
chromium_src-d998a442d756c49dfc50bddb9bfd6f4906953ea2.tar.bz2
Move the injection test API to content/public.
BUG=139631,98716 TEST=none Review URL: https://chromiumcodereview.appspot.com/10827282 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151087 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/injection_test_dll.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/content/common/injection_test_dll.h b/content/common/injection_test_dll.h
deleted file mode 100644
index 94205bf..0000000
--- a/content/common/injection_test_dll.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_COMMON_INJECTION_TEST_DLL_H_
-#define CONTENT_COMMON_INJECTION_TEST_DLL_H_
-
-// This file defines the entry points for any DLL that can be loaded into the
-// renderer or plugin process for the purposes of testing. The DLL code must
-// define TEST_INJECTION_DLL so the entry point definitions cause the linker
-// to generate exported functions.
-
-const char kRenderTestCall[] = "RunRendererTests";
-const char kPluginTestCall[] = "RunPluginTests";
-
-extern "C" {
-#ifdef TEST_INJECTION_DLL
-BOOL extern __declspec(dllexport) __cdecl RunRendererTests(int* test_count);
-BOOL extern __declspec(dllexport) __cdecl RunPluginTests(int* test_count);
-#else
-typedef BOOL (__cdecl *RunRendererTests)(int* test_count);
-typedef BOOL (__cdecl *RunPluginTests)(int* test_count);
-#endif
-}
-
-#endif // CONTENT_COMMON_INJECTION_TEST_DLL_H_