summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/npapi/test/plugin_setup_test.cc
blob: ded1379508c256ee767732a55560c636478da9a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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