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

Issue 132353002: Change chrome.downloads.DownloadItem.{fileSize,bytesReceived,totalBytes} from longs to doubles for … (Closed)

Created:
6 years, 11 months ago by benjhayden
Modified:
6 years, 11 months ago
CC:
chromium-reviews, benjhayden+dwatch_chromium.org, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, cbentzel
Visibility:
Public.

Description

Change chrome.downloads.DownloadItem.{fileSize,bytesReceived,totalBytes} from longs to doubles for files > 2GB. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244404

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -24 lines) Patch
M chrome/browser/extensions/api/downloads/downloads_api.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc View 2 chunks +11 lines, -8 lines 0 comments Download
M chrome/common/extensions/api/downloads.idl View 1 5 chunks +13 lines, -13 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
benjhayden
6 years, 11 months ago (2014-01-09 18:37:47 UTC) #1
asargent_no_longer_on_chrome
I think this should be fine and shouldn't be too big a concern for backwards ...
6 years, 11 months ago (2014-01-10 23:39:14 UTC) #2
not at google - send to devlin
how do ints vs long vs doubles work in JS anyway? doesn't everything eventually reduce ...
6 years, 11 months ago (2014-01-10 23:46:42 UTC) #3
asargent_no_longer_on_chrome
On 2014/01/10 23:46:42, kalman wrote: > how do ints vs long vs doubles work in ...
6 years, 11 months ago (2014-01-11 01:05:02 UTC) #4
benjhayden
Thanks! https://codereview.chromium.org/132353002/diff/1/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/132353002/diff/1/chrome/common/extensions/api/downloads.idl#newcode325 chrome/common/extensions/api/downloads.idl:325: dictionary LongDelta { On 2014/01/10 23:46:43, kalman wrote: ...
6 years, 11 months ago (2014-01-12 00:04:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/132353002/80001
6 years, 11 months ago (2014-01-12 00:04:22 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-12 02:08:45 UTC) #7
Message was sent while issue was closed.
Change committed as 244404

Powered by Google App Engine
This is Rietveld 408576698