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

Side by Side Diff: webkit/glue/plugins/test/plugin_private_test.cc

Issue 5998002: Revert "Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (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) 2009 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_private_test.h" 5 #include "webkit/glue/plugins/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/plugins/npapi/test/plugin_client.h" 9 #include "webkit/glue/plugins/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
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
OLDNEW
« no previous file with comments | « webkit/glue/plugins/test/plugin_private_test.h ('k') | webkit/glue/plugins/test/plugin_schedule_timer_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698