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

Unified Diff: trunk/src/chrome/browser/chromeos/file_system_provider/request_manager.h

Issue 342003004: Revert 277929 "[fsp] Cleanup handling errors for operation reque..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/chrome/browser/chromeos/file_system_provider/request_manager.h
===================================================================
--- trunk/src/chrome/browser/chromeos/file_system_provider/request_manager.h (revision 278185)
+++ trunk/src/chrome/browser/chromeos/file_system_provider/request_manager.h (working copy)
@@ -59,9 +59,7 @@
// Error callback invoked by the providing extension in response to
// Execute(). It can be called at most once. It can be also called if the
// request is aborted due to a timeout.
- virtual void OnError(int request_id,
- scoped_ptr<RequestValue> result,
- base::File::Error error) = 0;
+ virtual void OnError(int request_id, base::File::Error error) = 0;
};
// Observes activities in the request manager.
@@ -105,9 +103,7 @@
// Handles error response for the |request_id|. If handling the error fails,
// returns false. Always disposes the request.
- bool RejectRequest(int request_id,
- scoped_ptr<RequestValue> response,
- base::File::Error error);
+ bool RejectRequest(int request_id, base::File::Error error);
// Sets a custom timeout for tests. The new timeout value will be applied to
// new requests

Powered by Google App Engine
This is Rietveld 408576698