• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "content/test/plugin/plugin_new_fails_test.h"
6 
7 namespace NPAPIClient {
8 
NewFailsTest(NPP id,NPNetscapeFuncs * host_functions)9 NewFailsTest::NewFailsTest(NPP id, NPNetscapeFuncs *host_functions)
10     : PluginTest(id, host_functions) {
11 }
12 
New(uint16 mode,int16 argc,const char * argn[],const char * argv[],NPSavedData * saved)13 NPError NewFailsTest::New(uint16 mode, int16 argc, const char* argn[],
14                              const char* argv[], NPSavedData* saved) {
15   return NPERR_GENERIC_ERROR;
16 }
17 
18 }  // namespace NPAPIClient
19