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

Unified Diff: chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc

Issue 304533003: [fsp] Rename has_next to has_more. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: 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 52e1c68011722df35d4d33059d76a017f3229c4f..3952885412aa4bed99665623e052f02e743c32d4 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
@@ -187,7 +187,7 @@ void FakeProvidedFileSystem::ReadFile(
FROM_HERE,
base::Bind(callback,
0 /* chunk_length */,
- false /* has_next */,
+ false /* has_more */,
base::File::FILE_ERROR_SECURITY));
return;
}
@@ -202,15 +202,15 @@ 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);
- callback.Run(1, has_next, base::File::FILE_OK);
+ callback.Run(1, has_more, base::File::FILE_OK);
current_offset++;
current_length--;
}

Powered by Google App Engine
This is Rietveld 408576698