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

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

Issue 6317016: Change UTF8ToUTF16 to accept const StringPiece&. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 11 months 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
« no previous file with comments | « webkit/plugins/npapi/plugin_group.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdlib.h>
6
5 #include "webkit/plugins/npapi/test/plugin_arguments_test.h" 7 #include "webkit/plugins/npapi/test/plugin_arguments_test.h"
6 8
7 #include "base/basictypes.h" 9 #include "base/basictypes.h"
8 #include "base/string_util.h" 10 #include "base/string_util.h"
9 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
10 12
11 namespace NPAPIClient { 13 namespace NPAPIClient {
12 14
13 PluginArgumentsTest::PluginArgumentsTest(NPP id, 15 PluginArgumentsTest::PluginArgumentsTest(NPP id,
14 NPNetscapeFuncs *host_functions) 16 NPNetscapeFuncs *host_functions)
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 62 }
61 63
62 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) { 64 NPError PluginArgumentsTest::SetWindow(NPWindow* pNPWindow) {
63 // This test just tests the arguments. We're done now. 65 // This test just tests the arguments. We're done now.
64 this->SignalTestCompleted(); 66 this->SignalTestCompleted();
65 67
66 return NPERR_NO_ERROR; 68 return NPERR_NO_ERROR;
67 } 69 }
68 70
69 } // namespace NPAPIClient 71 } // namespace NPAPIClient
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_group.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698