| Index: chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_unittest.cc
|
| diff --git a/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_unittest.cc b/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_unittest.cc
|
| index 0d04ab304bb65487822fd9a227045db1069420f3..d334a08ee94beece86520defcb94a3c731d87b79 100644
|
| --- a/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_unittest.cc
|
| +++ b/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_unittest.cc
|
| @@ -79,6 +79,13 @@ class ArcFileSystemOperationRunnerTest : public testing::Test {
|
| runner_->GetFileSize(
|
| GURL(kUrl),
|
| base::Bind([](int* counter, int64_t size) { ++*counter; }, counter));
|
| + runner_->GetMimeType(
|
| + GURL(kUrl),
|
| + base::Bind(
|
| + [](int* counter, const base::Optional<std::string>& mime_type) {
|
| + ++*counter;
|
| + },
|
| + counter));
|
| runner_->OpenFileToRead(
|
| GURL(kUrl),
|
| base::Bind([](int* counter, mojo::ScopedHandle handle) { ++*counter; },
|
| @@ -105,7 +112,7 @@ TEST_F(ArcFileSystemOperationRunnerTest, RunImmediately) {
|
| CallSetShouldDefer(false);
|
| CallAllFunctions(&counter);
|
| base::RunLoop().RunUntilIdle();
|
| - EXPECT_EQ(6, counter);
|
| + EXPECT_EQ(7, counter);
|
| }
|
|
|
| TEST_F(ArcFileSystemOperationRunnerTest, DeferAndRun) {
|
| @@ -117,7 +124,7 @@ TEST_F(ArcFileSystemOperationRunnerTest, DeferAndRun) {
|
|
|
| CallSetShouldDefer(false);
|
| base::RunLoop().RunUntilIdle();
|
| - EXPECT_EQ(6, counter);
|
| + EXPECT_EQ(7, counter);
|
| }
|
|
|
| TEST_F(ArcFileSystemOperationRunnerTest, DeferAndDiscard) {
|
| @@ -140,7 +147,7 @@ TEST_F(ArcFileSystemOperationRunnerTest, FileInstanceUnavailable) {
|
| CallSetShouldDefer(false);
|
| CallAllFunctions(&counter);
|
| base::RunLoop().RunUntilIdle();
|
| - EXPECT_EQ(6, counter);
|
| + EXPECT_EQ(7, counter);
|
| }
|
|
|
| } // namespace arc
|
|
|