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

Issue 8548018: Make the rate limiting of Native Client Plugin progress events more robust. (Closed)

Created:
9 years, 1 month ago by bbudge
Modified:
9 years, 1 month ago
Reviewers:
polina, polina1
CC:
chromium-reviews
Visibility:
Public.

Description

Make the rate limiting of Native Client Plugin progress events more robust by using time rather than bytes downloaded to determine when to fire another event. BUG=none TEST=manual, working on an example. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111421

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -11 lines) Patch
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 2 chunks +15 lines, -10 lines 4 comments Download

Messages

Total messages: 9 (0 generated)
bbudge
Renamed 'delta' to 'elapsed'
9 years, 1 month ago (2011-11-18 22:07:52 UTC) #1
polina
http://codereview.chromium.org/8548018/diff/4001/ppapi/native_client/src/trusted/plugin/plugin.cc File ppapi/native_client/src/trusted/plugin/plugin.cc (right): http://codereview.chromium.org/8548018/diff/4001/ppapi/native_client/src/trusted/plugin/plugin.cc#newcode1849 ppapi/native_client/src/trusted/plugin/plugin.cc:1849: const int64_t kTenMilliseconds = 10000; perhaps put this at ...
9 years, 1 month ago (2011-11-23 08:23:59 UTC) #2
polina
Btw, are there no tests affected by this change? Do we not have tests for ...
9 years, 1 month ago (2011-11-23 08:24:34 UTC) #3
bbudge
http://codereview.chromium.org/8548018/diff/4001/ppapi/native_client/src/trusted/plugin/plugin.cc File ppapi/native_client/src/trusted/plugin/plugin.cc (right): http://codereview.chromium.org/8548018/diff/4001/ppapi/native_client/src/trusted/plugin/plugin.cc#newcode1849 ppapi/native_client/src/trusted/plugin/plugin.cc:1849: const int64_t kTenMilliseconds = 10000; Since it's only used ...
9 years, 1 month ago (2011-11-23 14:09:37 UTC) #4
bbudge
On 2011/11/23 08:24:34, polina wrote: > Btw, are there no tests affected by this change? ...
9 years, 1 month ago (2011-11-23 14:11:03 UTC) #5
polina
lgtm
9 years, 1 month ago (2011-11-23 19:05:27 UTC) #6
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years, 1 month ago (2011-11-23 20:54:06 UTC) #7
polina1
On 2011/11/23 20:54:06, I haz the power (commit-bot) wrote: > No LGTM from valid reviewers ...
9 years, 1 month ago (2011-11-23 21:44:09 UTC) #8
commit-bot: I haz the power
9 years, 1 month ago (2011-11-23 21:59:05 UTC) #9
No LGTM from valid reviewers yet.

Powered by Google App Engine
This is Rietveld 408576698