From 78a7a38fe796fdee9e476635b470ea43fa95ce7c Mon Sep 17 00:00:00 2001 From: "oshima@chromium.org" Date: Wed, 18 Jun 2014 22:23:23 +0000 Subject: Revert 277929 "[fsp] Cleanup handling errors for operation reque..." > [fsp] Cleanup handling errors for operation requests. > > This CL removes redundant internal functions which are identical, and replaces > them with one. > > Moreover, the new general purpose error API function, passes now the entire > value to the request manager. This is because, very soon, we are going to > pass extra information with every error and success responses and we want to > have access to them in the RequestManager. > > NOTRY=true > TEST=unit_tests, browser_tests: *FileSystemProvider* > BUG=373165, 384201 > > Review URL: https://codereview.chromium.org/335753004 TBR=mtomasz@chromium.org Review URL: https://codereview.chromium.org/342003004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278186 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/chromeos/file_system_provider/request_value.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'chrome/browser/chromeos/file_system_provider/request_value.cc') diff --git a/chrome/browser/chromeos/file_system_provider/request_value.cc b/chrome/browser/chromeos/file_system_provider/request_value.cc index 73d98fc..53744d2 100644 --- a/chrome/browser/chromeos/file_system_provider/request_value.cc +++ b/chrome/browser/chromeos/file_system_provider/request_value.cc @@ -45,14 +45,6 @@ scoped_ptr RequestValue::CreateForReadFileSuccess( return result.Pass(); } -scoped_ptr RequestValue::CreateForOperationError( - scoped_ptr params) { - scoped_ptr result(new RequestValue); - result->operation_error_params_ = params.Pass(); - return result.Pass(); -} - scoped_ptr RequestValue::CreateForTesting( const std::string& params) { scoped_ptr result(new RequestValue); -- cgit v1.1