Index: chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc |
diff --git a/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc b/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc |
index b591076cf79ae9fae2c8a170b19c9ee692102ae5..cd4e89b10bc87477c4f2625f9780be0af38f93f1 100644 |
--- a/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc |
+++ b/chrome/browser/media_galleries/fileapi/media_file_validator_browsertest.cc |
@@ -39,9 +39,9 @@ const int64 kNoFileSize = -1; |
void HandleCheckFileResult(int64 expected_size, |
const base::Callback<void(bool success)>& callback, |
- base::PlatformFileError result, |
- const base::PlatformFileInfo& file_info) { |
- if (result == base::PLATFORM_FILE_OK) { |
+ base::File::Error result, |
+ const base::File::Info& file_info) { |
+ if (result == base::File::FILE_OK) { |
if (!file_info.is_directory && expected_size != kNoFileSize && |
file_info.size == expected_size) { |
callback.Run(true); |
@@ -203,11 +203,11 @@ class MediaFileValidatorTest : public InProcessBrowserTest { |
// Check that the move succeeded/failed based on expectation and then |
// check that the right file exists. |
- void OnMoveResult(bool expected_result, base::PlatformFileError result) { |
+ void OnMoveResult(bool expected_result, base::File::Error result) { |
if (expected_result) |
- EXPECT_EQ(base::PLATFORM_FILE_OK, result); |
+ EXPECT_EQ(base::File::FILE_OK, result); |
else |
- EXPECT_EQ(base::PLATFORM_FILE_ERROR_SECURITY, result); |
+ EXPECT_EQ(base::File::FILE_ERROR_SECURITY, result); |
CheckFiles(!expected_result, |
base::Bind(&MediaFileValidatorTest::OnTestFilesCheckResult, |
base::Unretained(this))); |