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

Unified Diff: webkit/plugins/npapi/plugin_list_unittest.cc

Issue 8687002: Cleanup: Convert ASCIIToUTF16("") to string16(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/npapi/plugin_group_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/plugin_list_unittest.cc
diff --git a/webkit/plugins/npapi/plugin_list_unittest.cc b/webkit/plugins/npapi/plugin_list_unittest.cc
index 6298cefff427bfb41065691ec5618c031b4c5254..6f152d9215af4646c83f0be059119705e84254be 100644
--- a/webkit/plugins/npapi/plugin_list_unittest.cc
+++ b/webkit/plugins/npapi/plugin_list_unittest.cc
@@ -4,6 +4,7 @@
#include "webkit/plugins/npapi/plugin_list.h"
+#include "base/string16.h"
#include "base/utf_string_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webkit/plugins/npapi/mock_plugin_list.h"
@@ -96,10 +97,9 @@ TEST_F(PluginListTest, EmptyGroup) {
}
TEST_F(PluginListTest, BadPluginDescription) {
- WebPluginInfo plugin_3043(ASCIIToUTF16(""),
- FilePath(FILE_PATH_LITERAL("/myplugin.3.0.43")),
- ASCIIToUTF16(""),
- ASCIIToUTF16(""));
+ WebPluginInfo plugin_3043(
+ string16(), FilePath(FILE_PATH_LITERAL("/myplugin.3.0.43")),
+ string16(), string16());
// Simulate loading of the plugins.
plugin_list_.ClearPluginsToLoad();
plugin_list_.AddPluginToLoad(plugin_3043);
« no previous file with comments | « webkit/plugins/npapi/plugin_group_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698