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

Issue 11859044: Add a way to specify different source urls for the component updater (Closed)

Created:
7 years, 11 months ago by cpu_(ooo_6.6-7.5)
Modified:
7 years, 11 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add a way to specify different source urls for the component updater So components can be installed from the chrome web store or from some limited set of options which are controlled by an enum. Currentlyt the options are omaha (bandaid) the chrome webstore and the sandbox webstore. BUG=171079 TEST=see bug, added unittest. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178360

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -69 lines) Patch
M chrome/browser/component_updater/component_updater_configurator.cc View 5 chunks +10 lines, -12 lines 0 comments Download
M chrome/browser/component_updater/component_updater_service.h View 1 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/component_updater/component_updater_service.cc View 1 2 3 chunks +80 lines, -53 lines 0 comments Download
M chrome/browser/component_updater/test/component_updater_service_unittest.cc View 1 5 chunks +92 lines, -3 lines 0 comments Download
A chrome/test/data/components/updatecheck_reply_3.xml View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
cpu_(ooo_6.6-7.5)
simple enhancement to the component updater, I left some breadcrumbs in the review to make ...
7 years, 11 months ago (2013-01-21 02:47:19 UTC) #1
asargent_no_longer_on_chrome
LGTM https://codereview.chromium.org/11859044/diff/12001/chrome/browser/component_updater/component_updater_service.cc File chrome/browser/component_updater/component_updater_service.cc (right): https://codereview.chromium.org/11859044/diff/12001/chrome/browser/component_updater/component_updater_service.cc#newcode534 chrome/browser/component_updater/component_updater_service.cc:534: // If no pending upgrades, we check the ...
7 years, 11 months ago (2013-01-23 17:58:32 UTC) #2
cpu_(ooo_6.6-7.5)
7 years, 11 months ago (2013-01-23 18:56:06 UTC) #3
https://codereview.chromium.org/11859044/diff/12001/chrome/browser/component_...
File chrome/browser/component_updater/component_updater_service.cc (right):

https://codereview.chromium.org/11859044/diff/12001/chrome/browser/component_...
chrome/browser/component_updater/component_updater_service.cc:534: // If no
pending upgrades, we check the if there are new
On 2013/01/23 17:58:32, Antony Sargent wrote:
> typo: "we check the if there"

Done.

https://codereview.chromium.org/11859044/diff/12001/chrome/browser/component_...
chrome/browser/component_updater/component_updater_service.cc:570: // we have
not checked them recently.
On 2013/01/23 17:58:32, Antony Sargent wrote:
> typo: comment should say "..updated as long as we ..." (missing the second
'as')

Done.

https://codereview.chromium.org/11859044/diff/12001/chrome/browser/component_...
chrome/browser/component_updater/component_updater_service.cc:583: }
Yep, currently at 4 items.

On 2013/01/23 17:58:32, Antony Sargent wrote:
> I assume that work_items_ will always be very short right?
> 
> (If it were going to be very long, I'd say we'd want to avoid iterating over
it
> 3 separate times inside the body of the outer for loop since this CL now makes
> it 9 times total; perhaps by separating into separate lists based on
> item->status). 
>

Powered by Google App Engine
This is Rietveld 408576698