Chromium Code Reviews
DescriptionRate limit programmatic update checks for extensions
Previously extensions could call the runtime.requestUpdateCheck method
as often as every 5 seconds. This CL introduces a more restrictive
policy of around one extra check per autoupdate period, and changes the
implementation location of the rate limiting from within the
ExtensionUpdater code itself to the ChromeRuntimeAPIDelegate, and makes
it more flexible by using net::BackoffEntry.
BUG=599310
Committed: https://crrev.com/52524d5ef1489926230064f7d40fa5dd315a1795
Cr-Commit-Position: refs/heads/master@{#388362}
Patch Set 1 #
Total comments: 22
Patch Set 2 : added debugging LOG statements to troubleshoot test failure on chromeos #Patch Set 3 : more logging #Patch Set 4 : revert logging, back to patchset 1 state #Patch Set 5 : review comments, fixed chromeos bug #
Total comments: 2
Patch Set 6 : use vector::swap #Patch Set 7 : fix for idleness waiting problem caused by crrev.com/388245 #Messages
Total messages: 18 (7 generated)
|