| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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 "base/basictypes.h" |
| 6 |
| 7 #if defined(OS_WIN) |
| 5 #define STRSAFE_NO_DEPRECATE | 8 #define STRSAFE_NO_DEPRECATE |
| 6 #include <strsafe.h> | 9 #include <strsafe.h> |
| 10 #endif |
| 11 |
| 7 #include "webkit/glue/plugins/test/plugin_arguments_test.h" | 12 #include "webkit/glue/plugins/test/plugin_arguments_test.h" |
| 8 | 13 |
| 9 namespace NPAPIClient { | 14 namespace NPAPIClient { |
| 10 | 15 |
| 11 PluginArgumentsTest::PluginArgumentsTest(NPP id, | 16 PluginArgumentsTest::PluginArgumentsTest(NPP id, |
| 12 NPNetscapeFuncs *host_functions) | 17 NPNetscapeFuncs *host_functions) |
| 13 : PluginTest(id, host_functions) { | 18 : PluginTest(id, host_functions) { |
| 14 } | 19 } |
| 15 | 20 |
| 16 NPError PluginArgumentsTest::New(uint16 mode, int16 argc, | 21 NPError PluginArgumentsTest::New(uint16 mode, int16 argc, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 64 |
| 60 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { | 65 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { |
| 61 // This test just tests the arguments. We're done now. | 66 // This test just tests the arguments. We're done now. |
| 62 this->SignalTestCompleted(); | 67 this->SignalTestCompleted(); |
| 63 | 68 |
| 64 return NPERR_NO_ERROR; | 69 return NPERR_NO_ERROR; |
| 65 } | 70 } |
| 66 | 71 |
| 67 } // namespace NPAPIClient | 72 } // namespace NPAPIClient |
| 68 | 73 |
| OLD | NEW |