summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/layout_plugin_uitest.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 16:52:12 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-06 16:52:12 +0000
commitc9b3fb0bd845b8911fa3aa2400717dff34713e24 (patch)
tree551e9e38bd5fc49fccef99ae046be540eb1bd330 /chrome/test/ui/layout_plugin_uitest.cc
parentb3db1e412fac9c9ae91e718b17da6f55a05a766c (diff)
downloadchromium_src-c9b3fb0bd845b8911fa3aa2400717dff34713e24.zip
chromium_src-c9b3fb0bd845b8911fa3aa2400717dff34713e24.tar.gz
chromium_src-c9b3fb0bd845b8911fa3aa2400717dff34713e24.tar.bz2
Copy the npapi pepper test plugin during the build so we don't
have to do it when running the test. Remove all the code in the test for copying files since it's no longer needed. Review URL: http://codereview.chromium.org/3048048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55235 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/layout_plugin_uitest.cc')
-rw-r--r--chrome/test/ui/layout_plugin_uitest.cc10
1 files changed, 1 insertions, 9 deletions
diff --git a/chrome/test/ui/layout_plugin_uitest.cc b/chrome/test/ui/layout_plugin_uitest.cc
index c1ffb6f..8df91c2 100644
--- a/chrome/test/ui/layout_plugin_uitest.cc
+++ b/chrome/test/ui/layout_plugin_uitest.cc
@@ -19,17 +19,9 @@ using npapi_test::kTestCompleteSuccess;
static const FilePath::CharType* kTestDir = FILE_PATH_LITERAL("npapi");
-#if defined(OS_WIN)
-static const char kTestPluginName[] = "npapi_layout_test_plugin.dll";
-#elif defined(OS_MACOSX)
-static const char kTestPluginName[] = "TestNetscapePlugIn.plugin";
-#elif defined(OS_LINUX)
-static const char kTestPluginName[] = "libnpapi_layout_test_plugin.so";
-#endif
-
class LayoutPluginTester : public NPAPITesterBase {
protected:
- LayoutPluginTester() : NPAPITesterBase(kTestPluginName) {}
+ LayoutPluginTester() : NPAPITesterBase() {}
};
// Make sure that navigating away from a plugin referenced by JS doesn't