summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/test/plugin_setup_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins/npapi/test/plugin_setup_test.cc')
-rw-r--r--webkit/plugins/npapi/test/plugin_setup_test.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/webkit/plugins/npapi/test/plugin_setup_test.cc b/webkit/plugins/npapi/test/plugin_setup_test.cc
new file mode 100644
index 0000000..ded1379
--- /dev/null
+++ b/webkit/plugins/npapi/test/plugin_setup_test.cc
@@ -0,0 +1,22 @@
+// Copyright (c) 2010 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 "base/basictypes.h"
+#include "base/string_util.h"
+
+#include "webkit/plugins/npapi/test/plugin_setup_test.h"
+
+namespace NPAPIClient {
+
+PluginSetupTest::PluginSetupTest(NPP id, NPNetscapeFuncs *host_functions)
+ : PluginTest(id, host_functions) {
+}
+
+NPError PluginSetupTest::SetWindow(NPWindow* pNPWindow) {
+ this->SignalTestCompleted();
+
+ return NPERR_NO_ERROR;
+}
+
+} // namespace NPAPIClient