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

Unified Diff: Source/platform/exported/WebFileSystemCallbacks.cpp

Issue 884393002: Upgrade Blink to milliseconds-based last modified filetimes, part 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@sof-fileinfo-modtime-in-ms-1
Patch Set: Stop using time_t over getFileModificationTime(); not sound Created 5 years, 10 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
« no previous file with comments | « Source/platform/FileMetadata.cpp ('k') | Source/web/WebFileChooserCompletionImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebFileSystemCallbacks.cpp
diff --git a/Source/platform/exported/WebFileSystemCallbacks.cpp b/Source/platform/exported/WebFileSystemCallbacks.cpp
index c57ef23aa96c8422056d0c2898822411a248d566..e50721fdad155724e77a350cfbe0130de692c814 100644
--- a/Source/platform/exported/WebFileSystemCallbacks.cpp
+++ b/Source/platform/exported/WebFileSystemCallbacks.cpp
@@ -84,7 +84,7 @@ void WebFileSystemCallbacks::didReadMetadata(const WebFileInfo& webFileInfo)
{
ASSERT(!m_private.isNull());
FileMetadata fileMetadata;
- fileMetadata.modificationTime = webFileInfo.modificationTime;
+ fileMetadata.modificationTimeMS = webFileInfo.modificationTimeMS;
fileMetadata.length = webFileInfo.length;
fileMetadata.type = static_cast<FileMetadata::Type>(webFileInfo.type);
fileMetadata.platformPath = webFileInfo.platformPath;
@@ -102,7 +102,7 @@ void WebFileSystemCallbacks::didCreateSnapshotFile(const WebFileInfo& webFileInf
RefPtr<BlobDataHandle> snapshotBlob = BlobDataHandle::create(blobData.release(), webFileInfo.length);
FileMetadata fileMetadata;
- fileMetadata.modificationTime = webFileInfo.modificationTime;
+ fileMetadata.modificationTimeMS = webFileInfo.modificationTimeMS;
fileMetadata.length = webFileInfo.length;
fileMetadata.type = static_cast<FileMetadata::Type>(webFileInfo.type);
fileMetadata.platformPath = webFileInfo.platformPath;
« no previous file with comments | « Source/platform/FileMetadata.cpp ('k') | Source/web/WebFileChooserCompletionImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698