RESOLVED FIXED 45829
[Chromium] Change WebHTTPBody::appendFileRange() to take a modification time instead of a WebFileInfo instance
https://bugs.webkit.org/show_bug.cgi?id=45829
Summary [Chromium] Change WebHTTPBody::appendFileRange() to take a modification time ...
Dumitru Daniliuc
Reported 2010-09-15 13:24:13 PDT
More data will be added to WebFileInfo (such as last access time, file size, etc.), which is not needed by WebHTTPBody::appendFileRange(), because that method only needs to know the last time a file was modified. We should change it to take a 'double modificationTime' argument directly, instead of taking a WebFileInfo instance.
Attachments
patch #1: overload WebHTTPBody::appendFileRange() (3.65 KB, patch)
2010-09-15 14:23 PDT, Dumitru Daniliuc
dumi: commit-queue-
patch #1: overload WebHTTPBody::appendFileRange() (4.04 KB, patch)
2010-09-15 21:03 PDT, Dumitru Daniliuc
fishd: review+
dumi: commit-queue-
patch #2: remove WebHTTPBody::appendFileRange(..., const WebFileInfo&) (3.49 KB, patch)
2010-09-15 22:53 PDT, Dumitru Daniliuc
no flags
patch #2: remove WebHTTPBody::appendFileRange(..., const WebFileInfo&) (3.49 KB, patch)
2010-09-16 22:29 PDT, Dumitru Daniliuc
fishd: review+
dumi: commit-queue-
Dumitru Daniliuc
Comment 1 2010-09-15 14:23:11 PDT
Created attachment 67714 [details] patch #1: overload WebHTTPBody::appendFileRange()
WebKit Review Bot
Comment 2 2010-09-15 14:24:55 PDT
Attachment 67714 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit/chromium/src/WebHTTPBody.cpp:137: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dumitru Daniliuc
Comment 3 2010-09-15 21:03:18 PDT
Created attachment 67767 [details] patch #1: overload WebHTTPBody::appendFileRange() Fixed the style error.
Dumitru Daniliuc
Comment 4 2010-09-15 22:47:50 PDT
patch #1 landed: r67598.
Dumitru Daniliuc
Comment 5 2010-09-15 22:53:25 PDT
Created attachment 67773 [details] patch #2: remove WebHTTPBody::appendFileRange(..., const WebFileInfo&)
WebKit Review Bot
Comment 6 2010-09-15 23:06:30 PDT
Dumitru Daniliuc
Comment 7 2010-09-15 23:09:59 PDT
(In reply to comment #6) > Attachment 67773 [details] did not build on chromium: > Build output: http://queues.webkit.org/results/4026026 this is expected. the patch won't build until http://codereview.chromium.org/3405010 is submitted.
Dumitru Daniliuc
Comment 8 2010-09-16 21:59:46 PDT
patch #2 landed: r67693.
Dumitru Daniliuc
Comment 9 2010-09-16 22:28:38 PDT
Need to wait on WebKit to pick up a newer Chromium version that includes r59767 before re-landing patch #2...
Dumitru Daniliuc
Comment 10 2010-09-16 22:29:56 PDT
Created attachment 67885 [details] patch #2: remove WebHTTPBody::appendFileRange(..., const WebFileInfo&) same patch.
Eric Seidel (no email)
Comment 11 2010-09-18 03:21:29 PDT
Comment on attachment 67773 [details] patch #2: remove WebHTTPBody::appendFileRange(..., const WebFileInfo&) Cleared Darin Fisher's review+ from obsolete attachment 67773 [details] so that this bug does not appear in http://webkit.org/pending-commit.
Dumitru Daniliuc
Comment 12 2010-09-30 13:02:32 PDT
re-landed: r68818.
Note You need to log in before you can comment on or make changes to this bug.