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

Unified Diff: chrome/browser/chromeos/file_system_provider/request_manager.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/request_manager.cc
diff --git a/chrome/browser/chromeos/file_system_provider/request_manager.cc b/chrome/browser/chromeos/file_system_provider/request_manager.cc
index 083f3bf29aba3e1ce7a2b72e9d05687621c298e0..76c1fc8330e7e2efce14c1a760db5a96a96494cc 100644
--- a/chrome/browser/chromeos/file_system_provider/request_manager.cc
+++ b/chrome/browser/chromeos/file_system_provider/request_manager.cc
@@ -69,14 +69,14 @@ int RequestManager::CreateRequest(scoped_ptr<HandlerInterface> handler) {
bool RequestManager::FulfillRequest(int request_id,
scoped_ptr<RequestValue> response,
- bool has_next) {
+ bool has_more) {
RequestMap::iterator request_it = requests_.find(request_id);
if (request_it == requests_.end())
return false;
- request_it->second->handler->OnSuccess(request_id, response.Pass(), has_next);
- if (!has_next) {
+ request_it->second->handler->OnSuccess(request_id, response.Pass(), has_more);
+ if (!has_more) {
delete request_it->second;
requests_.erase(request_it);
} else {

Powered by Google App Engine
This is Rietveld 408576698