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

Unified Diff: third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp

Issue 2388423003: reflow comments in modules/[fetch,indexeddb] (Closed)
Patch Set: rebase Created 4 years, 2 months 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: third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp
index f5689df94aa43dea6df6b36ac7905d4406ce755d..ea862aa218899a7e5a418ed16cbb0008c31792da 100644
--- a/third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/DOMFileSystemSync.cpp
@@ -109,10 +109,12 @@ class CreateFileHelper final : public AsyncFileSystemCallbacks {
void didCreateSnapshotFile(const FileMetadata& metadata,
PassRefPtr<BlobDataHandle> snapshot) override {
- // We can't directly use the snapshot blob data handle because the content type on it hasn't been set.
- // The |snapshot| param is here to provide a a chain of custody thru thread bridging that is held onto until
- // *after* we've coined a File with a new handle that has the correct type set on it. This allows the
- // blob storage system to track when a temp file can and can't be safely deleted.
+ // We can't directly use the snapshot blob data handle because the content
+ // type on it hasn't been set. The |snapshot| param is here to provide a a
+ // chain of custody thru thread bridging that is held onto until *after*
+ // we've coined a File with a new handle that has the correct type set on
+ // it. This allows the blob storage system to track when a temp file can and
+ // can't be safely deleted.
m_result->m_file =
DOMFileSystemBase::createFile(metadata, m_url, m_type, m_name);

Powered by Google App Engine
This is Rietveld 408576698