Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: webkit/plugins/npapi/test/plugin_arguments_test.cc

Issue 5961004: Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugin... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "webkit/plugins/npapi/test/plugin_arguments_test.h"
6
7 #include "base/basictypes.h" 5 #include "base/basictypes.h"
8 #include "base/string_util.h" 6 #include "base/string_util.h"
9 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
10 8
9 #include "webkit/glue/plugins/test/plugin_arguments_test.h"
10
11 namespace NPAPIClient { 11 namespace NPAPIClient {
12 12
13 PluginArgumentsTest::PluginArgumentsTest(NPP id, 13 PluginArgumentsTest::PluginArgumentsTest(NPP id,
14 NPNetscapeFuncs *host_functions) 14 NPNetscapeFuncs *host_functions)
15 : PluginTest(id, host_functions) { 15 : PluginTest(id, host_functions) {
16 } 16 }
17 17
18 NPError PluginArgumentsTest::New(uint16 mode, int16 argc, 18 NPError PluginArgumentsTest::New(uint16 mode, int16 argc,
19 const char* argn[], const char* argv[], 19 const char* argn[], const char* argv[],
20 NPSavedData* saved) { 20 NPSavedData* saved) {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 return PluginTest::New(mode, argc, argn, argv, saved); 59 return PluginTest::New(mode, argc, argn, argv, saved);
60 } 60 }
61 61
62 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { 62 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) {
63 // This test just tests the arguments. We're done now. 63 // This test just tests the arguments. We're done now.
64 this->SignalTestCompleted(); 64 this->SignalTestCompleted();
65 65
66 return NPERR_NO_ERROR; 66 return NPERR_NO_ERROR;
67 } 67 }
68 68
69 } // namespace NPAPIClient 69 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/test/plugin_arguments_test.h ('k') | webkit/plugins/npapi/test/plugin_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698