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

Unified Diff: content/browser/fileapi/file_system_quota_client_unittest.cc

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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
Index: content/browser/fileapi/file_system_quota_client_unittest.cc
diff --git a/content/browser/fileapi/file_system_quota_client_unittest.cc b/content/browser/fileapi/file_system_quota_client_unittest.cc
index 20e2b5f086e816fb4ac9804e86668aa3fe40aeac..e0ec2827c9c931a1963581cfe4728ad9fbd5a2d7 100644
--- a/content/browser/fileapi/file_system_quota_client_unittest.cc
+++ b/content/browser/fileapi/file_system_quota_client_unittest.cc
@@ -126,9 +126,9 @@ class FileSystemQuotaClientTest : public testing::Test {
FileSystemURL url = file_system_context_->CreateCrackedFileSystemURL(
GURL(origin_url), type, file_path);
- base::PlatformFileError result =
+ base::File::Error result =
AsyncFileTestHelper::CreateDirectory(file_system_context_, url);
- return result == base::PLATFORM_FILE_OK;
+ return result == base::File::FILE_OK;
}
bool CreateFileSystemFile(const base::FilePath& file_path,
@@ -143,14 +143,14 @@ class FileSystemQuotaClientTest : public testing::Test {
FileSystemURL url = file_system_context_->CreateCrackedFileSystemURL(
GURL(origin_url), type, file_path);
- base::PlatformFileError result =
+ base::File::Error result =
AsyncFileTestHelper::CreateFile(file_system_context_, url);
- if (result != base::PLATFORM_FILE_OK)
+ if (result != base::File::FILE_OK)
return false;
result = AsyncFileTestHelper::TruncateFile(
file_system_context_, url, file_size);
- return result == base::PLATFORM_FILE_OK;
+ return result == base::File::FILE_OK;
}
void InitializeOriginFiles(FileSystemQuotaClient* quota_client,

Powered by Google App Engine
This is Rietveld 408576698