OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 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/glue/plugins/test/plugin_private_test.h" | 5 #include "webkit/plugins/npapi/test/plugin_private_test.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "webkit/glue/plugins/test/plugin_client.h" | 9 #include "webkit/plugins/npapi/test/plugin_client.h" |
10 | 10 |
11 namespace NPAPIClient { | 11 namespace NPAPIClient { |
12 | 12 |
13 PrivateTest::PrivateTest(NPP id, NPNetscapeFuncs *host_functions) | 13 PrivateTest::PrivateTest(NPP id, NPNetscapeFuncs *host_functions) |
14 : PluginTest(id, host_functions) { | 14 : PluginTest(id, host_functions) { |
15 } | 15 } |
16 | 16 |
17 NPError PrivateTest::New(uint16 mode, int16 argc, | 17 NPError PrivateTest::New(uint16 mode, int16 argc, |
18 const char* argn[], const char* argv[], | 18 const char* argn[], const char* argv[], |
19 NPSavedData* saved) { | 19 NPSavedData* saved) { |
(...skipping 28 matching lines...) Expand all Loading... |
48 HostFunctions()->releasevariantvalue(&location_var); | 48 HostFunctions()->releasevariantvalue(&location_var); |
49 HostFunctions()->releaseobject(window_obj); | 49 HostFunctions()->releaseobject(window_obj); |
50 } | 50 } |
51 | 51 |
52 SignalTestCompleted(); | 52 SignalTestCompleted(); |
53 | 53 |
54 return NPERR_NO_ERROR; | 54 return NPERR_NO_ERROR; |
55 } | 55 } |
56 | 56 |
57 } // namespace NPAPIClient | 57 } // namespace NPAPIClient |
OLD | NEW |