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

Unified Diff: chrome/browser/chromeos/file_system_provider/operations/read_directory.cc

Issue 335753004: [fsp] Cleanup handling errors for operation requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 6 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/operations/read_directory.cc
diff --git a/chrome/browser/chromeos/file_system_provider/operations/read_directory.cc b/chrome/browser/chromeos/file_system_provider/operations/read_directory.cc
index f0ae20cf667666f9ee3117cc973275c8483bb3d4..e46b4f5be9397821862f97ce12903bafeb152889 100644
--- a/chrome/browser/chromeos/file_system_provider/operations/read_directory.cc
+++ b/chrome/browser/chromeos/file_system_provider/operations/read_directory.cc
@@ -84,7 +84,9 @@ void ReadDirectory::OnSuccess(int /* request_id */,
callback_.Run(base::File::FILE_OK, entry_list, has_more);
}
-void ReadDirectory::OnError(int /* request_id */, base::File::Error error) {
+void ReadDirectory::OnError(int /* request_id */,
+ scoped_ptr<RequestValue> /* result */,
+ base::File::Error error) {
callback_.Run(
error, fileapi::AsyncFileUtil::EntryList(), false /* has_more */);
}

Powered by Google App Engine
This is Rietveld 408576698