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

Unified Diff: content/browser/fileapi/blob_url_request_job_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/blob_url_request_job_unittest.cc
diff --git a/content/browser/fileapi/blob_url_request_job_unittest.cc b/content/browser/fileapi/blob_url_request_job_unittest.cc
index e5a37813e848445655fd4a88253cd54a23c6840c..f9f25e25bc27892ac85c6aa5725cfb5434f75cfb 100644
--- a/content/browser/fileapi/blob_url_request_job_unittest.cc
+++ b/content/browser/fileapi/blob_url_request_job_unittest.cc
@@ -210,12 +210,12 @@ class BlobURLRequestJobTest : public testing::Test {
kFileSystemType,
base::FilePath().AppendASCII(filename));
- ASSERT_EQ(base::PLATFORM_FILE_OK,
+ ASSERT_EQ(base::File::FILE_OK,
fileapi::AsyncFileTestHelper::CreateFileWithData(
file_system_context_, url, buf, buf_size));
- base::PlatformFileInfo file_info;
- ASSERT_EQ(base::PLATFORM_FILE_OK,
+ base::File::Info file_info;
+ ASSERT_EQ(base::File::FILE_OK,
fileapi::AsyncFileTestHelper::GetMetadata(
file_system_context_, url, &file_info));
if (modification_time)
@@ -224,8 +224,8 @@ class BlobURLRequestJobTest : public testing::Test {
void OnValidateFileSystem(const GURL& root,
const std::string& name,
- base::PlatformFileError result) {
- ASSERT_EQ(base::PLATFORM_FILE_OK, result);
+ base::File::Error result) {
+ ASSERT_EQ(base::File::FILE_OK, result);
ASSERT_TRUE(root.is_valid());
file_system_root_url_ = root;
}
« no previous file with comments | « components/nacl/browser/nacl_browser.cc ('k') | content/browser/fileapi/copy_or_move_file_validator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698