| Index: chrome/browser/chromeos/file_system_provider/operations/create_file.cc
|
| diff --git a/chrome/browser/chromeos/file_system_provider/operations/create_file.cc b/chrome/browser/chromeos/file_system_provider/operations/create_file.cc
|
| index 9f861c780294981bc9de05eb46b3f89bc87270d4..27fb164a9a2c9c50f1677bc118ba8a49f82c89b3 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/operations/create_file.cc
|
| +++ b/chrome/browser/chromeos/file_system_provider/operations/create_file.cc
|
| @@ -26,6 +26,9 @@ CreateFile::~CreateFile() {
|
| }
|
|
|
| bool CreateFile::Execute(int request_id) {
|
| + if (!file_system_info_.writable())
|
| + return false;
|
| +
|
| scoped_ptr<base::DictionaryValue> values(new base::DictionaryValue);
|
| values->SetString("filePath", file_path_.AsUTF8Unsafe());
|
|
|
|
|