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

Issue 884393002: Upgrade Blink to milliseconds-based last modified filetimes, part 3. (Closed)

Created:
5 years, 10 months ago by sof
Modified:
5 years, 10 months ago
Reviewers:
Mike West, jsbell
CC:
blink-reviews, arv+blink, tzik, blink-reviews-html_chromium.org, nhiroki, dglazkov+blink, blink-reviews-bindings_chromium.org, kinuko+fileapi
Base URL:
https://chromium.googlesource.com/chromium/blink.git@sof-fileinfo-modtime-in-ms-1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Upgrade Blink to milliseconds-based last modified filetimes, part 3. With WebFileInfo now recording modification time in milliseconds via modificationTimeMS, switch FileMetadata over to using it and keep a milliseconds-based modification time field also. Also have the fileapi's File object's snapshot times be milliseconds-based. To make it clearer what units the modification time values are over, append a MS suffix. This is temporary until the conversion is complete. This patch is the third one in the following series, 1: [blink] add WebFileInfo::modificationTimeMS [ https://codereview.chromium.org/873723004/ ] 2: [chromium] fill in modificationTimeMS [ https://codereview.chromium.org/884413002/ ] 3: [blink] *this one* [ https://codereview.chromium.org/884393002/ ] 4: [chromium] set modificationTime to something msec-based [ https://codereview.chromium.org/862203003/ ] 5: [blink] switch to using modificationTime instead of *MS [ https://codereview.chromium.org/882343002/ ] 6: [chromium] stop setting modificationTimeMS [ https://codereview.chromium.org/890523002/ ] 7: [blink] remove modificationTimeMS [ https://codereview.chromium.org/869613005/ ] R=mkwst,jsbell BUG=451747 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189475 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189755

Patch Set 1 #

Patch Set 2 : Upgrade serialization of files to be ms-based also #

Patch Set 3 : fix fast/storage test #

Total comments: 2

Patch Set 4 : consistent naming #

Patch Set 5 : Stop using time_t over getFileModificationTime(); not sound #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -71 lines) Patch
M LayoutTests/fast/storage/resources/serialized-script-value.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/bindings/core/v8/ScriptValueSerializer.cpp View 1 6 chunks +16 lines, -9 lines 0 comments Download
M Source/bindings/core/v8/SerializedScriptValue.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/core/v8/custom/V8BlobCustomHelpers.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/fileapi/File.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M Source/core/fileapi/File.cpp View 1 2 3 4 12 chunks +28 lines, -28 lines 0 comments Download
M Source/core/html/FormDataList.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/forms/FileInputTypeTest.cpp View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/modules/filesystem/DOMFileSystemBase.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/filesystem/FileSystemCallbacks.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/filesystem/Metadata.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/platform/FileMetadata.h View 1 2 3 4 2 chunks +13 lines, -7 lines 0 comments Download
M Source/platform/FileMetadata.cpp View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M Source/platform/exported/WebFileSystemCallbacks.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/WebFileChooserCompletionImpl.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M public/web/WebFileChooserCompletion.h View 1 chunk +2 lines, -2 lines 0 comments Download
M public/web/WebSerializedScriptValueVersion.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 36 (12 generated)
Mike West
LGTM.
5 years, 10 months ago (2015-01-30 08:18:45 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/884393002/1
5 years, 10 months ago (2015-02-03 06:22:52 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/44927)
5 years, 10 months ago (2015-02-03 08:10:19 UTC) #6
sof
The initial patchset didn't address the change in interpretation of last-modified timestamps when serializing File ...
5 years, 10 months ago (2015-02-03 15:30:53 UTC) #7
jsbell
lgtm https://codereview.chromium.org/884393002/diff/40001/Source/core/fileapi/File.h File Source/core/fileapi/File.h (right): https://codereview.chromium.org/884393002/diff/40001/Source/core/fileapi/File.h#newcode135 Source/core/fileapi/File.h:135: void captureSnapshot(long long& snapshotSize, double& snapshotModificationTimeInMS) const; Nit: ...
5 years, 10 months ago (2015-02-03 17:43:46 UTC) #9
jsbell
(And this is probably covered everywhere, but do we care about filesystems that have don't ...
5 years, 10 months ago (2015-02-03 17:46:30 UTC) #10
sof
On 2015/02/03 17:46:30, jsbell wrote: > (And this is probably covered everywhere, but do we ...
5 years, 10 months ago (2015-02-03 19:07:46 UTC) #11
sof
https://codereview.chromium.org/884393002/diff/40001/Source/core/fileapi/File.h File Source/core/fileapi/File.h (right): https://codereview.chromium.org/884393002/diff/40001/Source/core/fileapi/File.h#newcode135 Source/core/fileapi/File.h:135: void captureSnapshot(long long& snapshotSize, double& snapshotModificationTimeInMS) const; On 2015/02/03 ...
5 years, 10 months ago (2015-02-03 19:46:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/884393002/60001
5 years, 10 months ago (2015-02-03 19:46:54 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41083)
5 years, 10 months ago (2015-02-03 22:04:13 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/884393002/60001
5 years, 10 months ago (2015-02-03 22:36:19 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41131)
5 years, 10 months ago (2015-02-04 01:14:15 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/884393002/60001
5 years, 10 months ago (2015-02-04 06:25:30 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/41252)
5 years, 10 months ago (2015-02-04 09:04:06 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/884393002/60001
5 years, 10 months ago (2015-02-04 09:23:48 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189475
5 years, 10 months ago (2015-02-04 10:27:40 UTC) #27
sof
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/900773003/ by sigbjornf@opera.com. ...
5 years, 10 months ago (2015-02-04 12:52:47 UTC) #28
sof
Addressed linux32 failures; please take another look? It is unsound to continue using time_t for ...
5 years, 10 months ago (2015-02-06 10:11:09 UTC) #29
sof
jsbell@: time_t => double argument change looks fine? (sorry, i'm just keen to get this ...
5 years, 10 months ago (2015-02-06 19:32:26 UTC) #30
sof
Relanding now, but will follow-up should there be any questions surrounding the last patchset.
5 years, 10 months ago (2015-02-08 14:39:11 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/884393002/80001
5 years, 10 months ago (2015-02-08 14:39:36 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=189755
5 years, 10 months ago (2015-02-08 14:42:49 UTC) #34
jsbell
On 2015/02/06 19:32:26, sof wrote: > jsbell@: time_t => double argument change looks fine? > ...
5 years, 10 months ago (2015-02-09 18:24:08 UTC) #35
sof
5 years, 10 months ago (2015-02-09 18:40:45 UTC) #36
Message was sent while issue was closed.
On 2015/02/09 18:24:08, jsbell wrote:
> On 2015/02/06 19:32:26, sof wrote:
> > jsbell@: time_t => double argument change looks fine?
> > 
> > (sorry, i'm just keen to get this train back on track again :-) )
> 
> lgtm after the fact
> 
> (I think I was on an airplane at the time)

thanks for checking it over.

Powered by Google App Engine
This is Rietveld 408576698