| Index: chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
|
| diff --git a/chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc b/chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
|
| index 809351a55bba49e3d8ace3440863deda3994f89c..01e7434a672d67c9e5c5062a9ab16ee248cdc956 100644
|
| --- a/chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
|
| +++ b/chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
|
| @@ -34,10 +34,11 @@ bool ConvertRequestValueToFileInfo(scoped_ptr<RequestValue> value,
|
| "value", &input_modification_time)) {
|
| return false;
|
| }
|
| - if (!base::Time::FromString(input_modification_time.c_str(),
|
| - &output->last_modified)) {
|
| - return false;
|
| - }
|
| +
|
| + // Allow to pass invalid modification time, since there is no way to verify
|
| + // it easily on any earlier stage.
|
| + base::Time::FromString(
|
| + input_modification_time.c_str(), &output->last_modified);
|
|
|
| return true;
|
| }
|
|
|