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

Unified Diff: storage/browser/fileapi/local_file_stream_reader.cc

Issue 2516713002: [BlobStorage] Implementing disk. (Closed)
Patch Set: flush maybe worked? Adding it in paging spot. Created 4 years 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: storage/browser/fileapi/local_file_stream_reader.cc
diff --git a/storage/browser/fileapi/local_file_stream_reader.cc b/storage/browser/fileapi/local_file_stream_reader.cc
index 74a9cc9bac2432fc7f81f3d465e173bb55e10b99..70a76f9003b9572a2dc9480fc139a69416e9c45c 100644
--- a/storage/browser/fileapi/local_file_stream_reader.cc
+++ b/storage/browser/fileapi/local_file_stream_reader.cc
@@ -160,6 +160,11 @@ void LocalFileStreamReader::DidGetFileInfoForGetLength(
return;
}
if (!VerifySnapshotTime(expected_modification_time_, file_info)) {
+ LOG(ERROR) << "Expected time "
+ << expected_modification_time_.ToInternalValue()
+ << ", but actual time "
+ << file_info.last_modified.ToInternalValue();
+
callback.Run(net::ERR_UPLOAD_FILE_CHANGED);
return;
}

Powered by Google App Engine
This is Rietveld 408576698