OLD | NEW |
1 // Copyright (c) 2010 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 <stdlib.h> | 5 #include <stdlib.h> |
6 | 6 |
7 #include "webkit/plugins/npapi/test/plugin_arguments_test.h" | 7 #include "webkit/plugins/npapi/test/plugin_arguments_test.h" |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/string_util.h" | 10 #include "base/strings/string_util.h" |
11 #include "base/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
12 | 12 |
13 namespace NPAPIClient { | 13 namespace NPAPIClient { |
14 | 14 |
15 PluginArgumentsTest::PluginArgumentsTest(NPP id, | 15 PluginArgumentsTest::PluginArgumentsTest(NPP id, |
16 NPNetscapeFuncs *host_functions) | 16 NPNetscapeFuncs *host_functions) |
17 : PluginTest(id, host_functions) { | 17 : PluginTest(id, host_functions) { |
18 } | 18 } |
19 | 19 |
20 NPError PluginArgumentsTest::New(uint16 mode, int16 argc, | 20 NPError PluginArgumentsTest::New(uint16 mode, int16 argc, |
21 const char* argn[], const char* argv[], | 21 const char* argn[], const char* argv[], |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 } | 62 } |
63 | 63 |
64 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { | 64 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { |
65 // This test just tests the arguments. We're done now. | 65 // This test just tests the arguments. We're done now. |
66 this->SignalTestCompleted(); | 66 this->SignalTestCompleted(); |
67 | 67 |
68 return NPERR_NO_ERROR; | 68 return NPERR_NO_ERROR; |
69 } | 69 } |
70 | 70 |
71 } // namespace NPAPIClient | 71 } // namespace NPAPIClient |
OLD | NEW |