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

Unified Diff: content/child/blob_storage/blob_transport_controller.cc

Issue 2516713002: [BlobStorage] Implementing disk. (Closed)
Patch Set: file flushing, stack track on reader error 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: content/child/blob_storage/blob_transport_controller.cc
diff --git a/content/child/blob_storage/blob_transport_controller.cc b/content/child/blob_storage/blob_transport_controller.cc
index 5db46a24726647bcf614777b5eb9322ae038a877..702bfd14c42762cbbad58cc7a19ba433402c1645 100644
--- a/content/child/blob_storage/blob_transport_controller.cc
+++ b/content/child/blob_storage/blob_transport_controller.cc
@@ -140,6 +140,9 @@ base::Optional<std::vector<BlobItemBytesResponse>> WriteDiskRequests(
responses.back().time_file_modified =
last_modified_times[request.handle_index];
}
+ for (auto& file : files) {
+ file.Flush();
+ }
return responses;
}

Powered by Google App Engine
This is Rietveld 408576698