| Index: chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
|
| diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
|
| index 13fbf355918d31c096edba68eca36e5b052e1fb7..e9363a5a175430c2802d367b42dcbce89064b6cb 100644
|
| --- a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
|
| +++ b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.cc
|
| @@ -231,7 +231,7 @@ void FileBrowserPrivateRequestFileSystemFunction::DidFail(
|
| base::File::Error error_code) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
|
|
| - error_ = base::StringPrintf("File error %d", static_cast<int>(error_code));
|
| + SetError(base::StringPrintf("File error %d", static_cast<int>(error_code)));
|
| SendResponse(false);
|
| }
|
|
|
| @@ -521,7 +521,7 @@ bool FileBrowserPrivateStartCopyFunction::RunImpl() {
|
| if (params->source_url.empty() || params->parent.empty() ||
|
| params->new_name.empty()) {
|
| // Error code in format of DOMError.name.
|
| - error_ = "EncodingError";
|
| + SetError("EncodingError");
|
| return false;
|
| }
|
|
|
| @@ -536,7 +536,7 @@ bool FileBrowserPrivateStartCopyFunction::RunImpl() {
|
|
|
| if (!source_url.is_valid() || !destination_url.is_valid()) {
|
| // Error code in format of DOMError.name.
|
| - error_ = "EncodingError";
|
| + SetError("EncodingError");
|
| return false;
|
| }
|
|
|
|
|