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