| Index: chrome/browser/chromeos/file_system_provider/operations/read_file.cc
|
| diff --git a/chrome/browser/chromeos/file_system_provider/operations/read_file.cc b/chrome/browser/chromeos/file_system_provider/operations/read_file.cc
|
| index 7dafd4c468ada1d12e82b3f574496690e10db265..33ed3dfaead140db9236ec08b6da5eaecb3953df 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/operations/read_file.cc
|
| +++ b/chrome/browser/chromeos/file_system_provider/operations/read_file.cc
|
| @@ -74,18 +74,18 @@ bool ReadFile::Execute(int request_id) {
|
|
|
| void ReadFile::OnSuccess(int /* request_id */,
|
| scoped_ptr<RequestValue> result,
|
| - bool has_next) {
|
| + bool has_more) {
|
| const int copy_result = CopyRequestValueToBuffer(
|
| result.Pass(), buffer_, current_offset_, length_);
|
| DCHECK_LE(0, copy_result);
|
| - DCHECK(!has_next || copy_result > 0);
|
| + DCHECK(!has_more || copy_result > 0);
|
| if (copy_result > 0)
|
| current_offset_ += copy_result;
|
| - callback_.Run(copy_result, has_next, base::File::FILE_OK);
|
| + callback_.Run(copy_result, has_more, base::File::FILE_OK);
|
| }
|
|
|
| void ReadFile::OnError(int /* request_id */, base::File::Error error) {
|
| - callback_.Run(0 /* chunk_length */, false /* has_next */, error);
|
| + callback_.Run(0 /* chunk_length */, false /* has_more */, error);
|
| }
|
|
|
| } // namespace operations
|
|
|