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

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

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/plugins/npapi/plugin_list_posix.cc ('k') | webkit/plugins/npapi/plugin_list_win.cc » ('j') | 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 5d198d129808f42cb296cbb456a9d83d17267b12..0fc55bf80c21ea522fe75ce57e40b87e79c6a139 100644
--- a/webkit/plugins/npapi/plugin_list_unittest.cc
+++ b/webkit/plugins/npapi/plugin_list_unittest.cc
@@ -31,8 +31,8 @@ bool Contains(const std::vector<WebPluginInfo>& list,
return false;
}
-FilePath::CharType kFooPath[] = FILE_PATH_LITERAL("/plugins/foo.plugin");
-FilePath::CharType kBarPath[] = FILE_PATH_LITERAL("/plugins/bar.plugin");
+base::FilePath::CharType kFooPath[] = FILE_PATH_LITERAL("/plugins/foo.plugin");
+base::FilePath::CharType kBarPath[] = FILE_PATH_LITERAL("/plugins/bar.plugin");
const char* kFooName = "Foo Plugin";
} // namespace
@@ -41,11 +41,11 @@ class PluginListTest : public testing::Test {
public:
PluginListTest()
: foo_plugin_(ASCIIToUTF16(kFooName),
- FilePath(kFooPath),
+ base::FilePath(kFooPath),
ASCIIToUTF16("1.2.3"),
ASCIIToUTF16("foo")),
bar_plugin_(ASCIIToUTF16("Bar Plugin"),
- FilePath(kBarPath),
+ base::FilePath(kBarPath),
ASCIIToUTF16("2.3.4"),
ASCIIToUTF16("bar")) {
}
@@ -71,7 +71,7 @@ TEST_F(PluginListTest, GetPlugins) {
TEST_F(PluginListTest, BadPluginDescription) {
WebPluginInfo plugin_3043(
- string16(), FilePath(FILE_PATH_LITERAL("/myplugin.3.0.43")),
+ string16(), base::FilePath(FILE_PATH_LITERAL("/myplugin.3.0.43")),
string16(), string16());
// Simulate loading of the plugins.
plugin_list_.ClearPluginsToLoad();
« no previous file with comments | « webkit/plugins/npapi/plugin_list_posix.cc ('k') | webkit/plugins/npapi/plugin_list_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698