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

Unified Diff: webkit/fileapi/isolated_file_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
Index: webkit/fileapi/isolated_file_util_unittest.cc
diff --git a/webkit/fileapi/isolated_file_util_unittest.cc b/webkit/fileapi/isolated_file_util_unittest.cc
index faf83d76b5b662a7d167284ce547ca1e0405d226..1c67fb4264fefe7992fc2c073a668f09311d74e9 100644
--- a/webkit/fileapi/isolated_file_util_unittest.cc
+++ b/webkit/fileapi/isolated_file_util_unittest.cc
@@ -63,18 +63,18 @@ bool IsDirectoryEmpty(FileSystemContext* context, const FileSystemURL& url) {
FileSystemURL GetEntryURL(FileSystemContext* file_system_context,
const FileSystemURL& dir,
- const FilePath::StringType& name) {
+ const base::FilePath::StringType& name) {
return file_system_context->CreateCrackedFileSystemURL(
dir.origin(),
dir.mount_type(),
dir.virtual_path().Append(name));
}
-FilePath GetRelativeVirtualPath(const FileSystemURL& root,
- const FileSystemURL& url) {
+base::FilePath GetRelativeVirtualPath(const FileSystemURL& root,
+ const FileSystemURL& url) {
if (root.virtual_path().empty())
return url.virtual_path();
- FilePath relative;
+ base::FilePath relative;
const bool success = root.virtual_path().AppendRelativePath(
url.virtual_path(), &relative);
DCHECK(success);
@@ -162,14 +162,14 @@ class IsolatedFileUtilTest : public testing::Test {
return file_system_context()->CreateCrackedFileSystemURL(
GURL("http://example.com"),
kFileSystemTypeTemporary,
- FilePath().AppendASCII("dest").Append(path));
+ base::FilePath().AppendASCII("dest").Append(path));
}
void VerifyFilesHaveSameContent(const FileSystemURL& url1,
const FileSystemURL& url2) {
// Get the file info for url1.
base::PlatformFileInfo info1;
- FilePath platform_path1;
+ base::FilePath platform_path1;
ASSERT_EQ(base::PLATFORM_FILE_OK,
AsyncFileTestHelper::GetMetadata(
file_system_context(), url1, &info1, &platform_path1));
« no previous file with comments | « webkit/fileapi/file_system_util_unittest.cc ('k') | webkit/fileapi/local_file_system_cross_operation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698