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

Unified Diff: webkit/fileapi/file_system_util_unittest.cc

Issue 12286020: Replace FilePath with base::FilePath. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/fileapi/file_system_util.cc ('k') | webkit/fileapi/isolated_file_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_util_unittest.cc
diff --git a/webkit/fileapi/file_system_util_unittest.cc b/webkit/fileapi/file_system_util_unittest.cc
index 3bf54fb121715534b53d0036f36a3a78d5c47247..1b23d34604ccd0993cfd080140f606447cb3ce6c 100644
--- a/webkit/fileapi/file_system_util_unittest.cc
+++ b/webkit/fileapi/file_system_util_unittest.cc
@@ -56,8 +56,8 @@ TEST_F(FileSystemUtilTest, VirtualPathBaseName) {
TEST_F(FileSystemUtilTest, GetNormalizedFilePath) {
struct test_data {
- const FilePath::StringType path;
- const FilePath::StringType normalized_path;
+ const base::FilePath::StringType path;
+ const base::FilePath::StringType normalized_path;
} test_cases[] = {
{ FILE_PATH_LITERAL(""), FILE_PATH_LITERAL("/") },
{ FILE_PATH_LITERAL("/"), FILE_PATH_LITERAL("/") },
@@ -65,8 +65,8 @@ TEST_F(FileSystemUtilTest, GetNormalizedFilePath) {
{ FILE_PATH_LITERAL("/foo/bar"), FILE_PATH_LITERAL("/foo/bar") }
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_cases); ++i) {
- FilePath input = FilePath(test_cases[i].path);
- FilePath::StringType normalized_path_string =
+ base::FilePath input = base::FilePath(test_cases[i].path);
+ base::FilePath::StringType normalized_path_string =
VirtualPath::GetNormalizedFilePath(input);
EXPECT_EQ(test_cases[i].normalized_path, normalized_path_string);
}
« no previous file with comments | « webkit/fileapi/file_system_util.cc ('k') | webkit/fileapi/isolated_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698