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

Issue 17419011: Implement coarse "on demand" functionality for update checks. (Closed)

Created:
7 years, 6 months ago by waffles
Modified:
7 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@sync
Visibility:
Public.

Description

Implement coarse "on demand" functionality for update checks. After this changelist, first-installation of components initiated by CheckForUpdateSoon will bear an "installsource=ondemand" flag in the request. (The server honors this flag by serving updates at 100% rather than a gated fraction.) "On demand" checks do not have a higher priority than normal CheckForUpdateSoon() update checks: they are not promoted to be handled first or preempt component downloads/updates/installations that are already in progress. NOTRY=true BUG=245318 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208256

Patch Set 1 #

Patch Set 2 : Removed obsolete reference to PingChecker. #

Patch Set 3 : Added a comment. #

Total comments: 2

Patch Set 4 : Remove version==0 condition; makes new test redundant. #

Patch Set 5 : Some obvious cleanup that I overlooked. #

Patch Set 6 : Whitespace fix. #

Patch Set 7 : Recompute diffs against Chromium LKGR. #

Total comments: 7

Patch Set 8 : Response to comments. #

Patch Set 9 : Added comment. #

Patch Set 10 : Fix Windows compiler error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M chrome/browser/component_updater/component_updater_service.cc View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -6 lines 0 comments Download
M chrome/browser/component_updater/test/component_updater_service_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
waffles
Hi sorin, cpu, Please take a look at this changelist to add on-demand functionality to ...
7 years, 6 months ago (2013-06-21 00:13:25 UTC) #1
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/17419011/diff/4001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/17419011/diff/4001/chrome/browser/component_updater/component_updater_service.cc#newcode706 chrome/browser/component_updater/component_updater_service.cc:706: item->component.version.Equals(Version("0")); I don't think so. This is hacky and ...
7 years, 6 months ago (2013-06-21 00:22:56 UTC) #2
waffles
Thanks for the quick turnaround! https://codereview.chromium.org/17419011/diff/4001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/17419011/diff/4001/chrome/browser/component_updater/component_updater_service.cc#newcode706 chrome/browser/component_updater/component_updater_service.cc:706: item->component.version.Equals(Version("0")); On 2013/06/21 00:22:56, ...
7 years, 6 months ago (2013-06-21 01:52:08 UTC) #3
waffles
On 2013/06/21 00:13:25, waffles wrote: > Hi sorin, cpu, > > Please take a look ...
7 years, 6 months ago (2013-06-22 00:07:37 UTC) #4
Sorin Jianu
https://codereview.chromium.org/17419011/diff/16001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/17419011/diff/16001/chrome/browser/component_updater/component_updater_service.cc#newcode582 chrome/browser/component_updater/component_updater_service.cc:582: requested_work_items_.count(item), I would consider using a const bool is_ondemand ...
7 years, 6 months ago (2013-06-24 17:25:57 UTC) #5
waffles
7 years, 6 months ago (2013-06-24 17:27:11 UTC) #6
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/17419011/diff/16001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/17419011/diff/16001/chrome/browser/component_updater/component_updater_service.cc#newcode574 chrome/browser/component_updater/component_updater_service.cc:574: // The component to add is |crxit| and ...
7 years, 6 months ago (2013-06-24 17:34:51 UTC) #7
waffles
Thanks! https://codereview.chromium.org/17419011/diff/16001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/17419011/diff/16001/chrome/browser/component_updater/component_updater_service.cc#newcode574 chrome/browser/component_updater/component_updater_service.cc:574: // The component to add is |crxit| and ...
7 years, 6 months ago (2013-06-24 17:39:30 UTC) #8
Sorin Jianu
lgtm LGTM
7 years, 6 months ago (2013-06-24 17:46:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/waffles@chromium.org/17419011/23003
7 years, 6 months ago (2013-06-24 18:02:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/waffles@chromium.org/17419011/70001
7 years, 6 months ago (2013-06-24 20:59:28 UTC) #11
commit-bot: I haz the power
7 years, 6 months ago (2013-06-24 20:59:48 UTC) #12
Message was sent while issue was closed.
Change committed as 208256

Powered by Google App Engine
This is Rietveld 408576698