| Index: chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
|
| diff --git a/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc b/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
|
| index 46c0e92af7a6ca5b1144d866790cf7cd1aff7383..fe6e3625da05a201c8d08e3bc4219c9557c048fc 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
|
| +++ b/chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
|
| @@ -198,7 +198,7 @@ void FakeProvidedFileSystem::ReadFile(
|
| FROM_HERE,
|
| base::Bind(callback,
|
| 0 /* chunk_length */,
|
| - false /* has_next */,
|
| + false /* has_more */,
|
| base::File::FILE_ERROR_INVALID_OPERATION));
|
| return;
|
| }
|
| @@ -213,18 +213,18 @@ void FakeProvidedFileSystem::ReadFile(
|
| FROM_HERE,
|
| base::Bind(callback,
|
| 0 /* chunk_length */,
|
| - false /* has_next */,
|
| + false /* has_more */,
|
| base::File::FILE_OK));
|
| }
|
|
|
| while (current_offset < kFakeFileSize && current_length) {
|
| buffer->data()[current_offset - offset] = kFakeFileText[current_offset];
|
| - const bool has_next =
|
| + const bool has_more =
|
| (current_offset + 1 < kFakeFileSize) && (current_length - 1);
|
| base::MessageLoopProxy::current()->PostTask(
|
| FROM_HERE,
|
| base::Bind(
|
| - callback, 1 /* chunk_length */, has_next, base::File::FILE_OK));
|
| + callback, 1 /* chunk_length */, has_more, base::File::FILE_OK));
|
| current_offset++;
|
| current_length--;
|
| }
|
|
|