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

Issue 1232003: Added support for pending extensions to ExtensionsService and (Closed)

Created:
10 years, 9 months ago by akalin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow)
Visibility:
Public.

Description

Added support for pending extensions to ExtensionsService and ExtensionUpdater. This is needed for theme syncing. Basically a pending extension is an (id, update_url) pair. This change makes it so that one can pass pending extensions to the extension service and they will be installed if necessary on the next auto-update cycle. BUG=32414 TEST=unittests, trybots, in-progress theme syncing change Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42711

Patch Set 1 #

Patch Set 2 : Fixed problem with GetExistingVersion() #

Patch Set 3 : Fixed lint error #

Patch Set 4 : Forgot to install pending extensions instead of upgrading #

Total comments: 20

Patch Set 5 : Addressed asargent's comments #

Patch Set 6 : Added TODOs #

Total comments: 8

Patch Set 7 : Addressed asargent's comments #

Patch Set 8 : Remove test that requires UI interaction #

Patch Set 9 : fixed lint error #

Patch Set 10 : synced to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+543 lines, -90 lines) Patch
M chrome/browser/extensions/extension_updater.h View 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_updater.cc View 1 2 3 4 5 6 7 8 5 chunks +145 lines, -62 lines 0 comments Download
M chrome/browser/extensions/extension_updater_unittest.cc View 1 2 3 4 5 6 13 chunks +123 lines, -13 lines 0 comments Download
M chrome/browser/extensions/extensions_service.h View 1 2 3 4 5 6 8 chunks +51 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 2 3 4 5 6 6 chunks +80 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 1 2 3 4 5 6 7 8 chunks +144 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
akalin
+cnygaard for review
10 years, 9 months ago (2010-03-24 22:30:32 UTC) #1
akalin
On 2010/03/24 22:30:32, akalin wrote: > +cnygaard for review -cnygaard, +asargent
10 years, 9 months ago (2010-03-24 22:39:08 UTC) #2
asargent_no_longer_on_chrome
Seems reasonable in general - I have a few questions and noted a few nits. ...
10 years, 9 months ago (2010-03-25 00:23:01 UTC) #3
akalin
Please take another look. http://codereview.chromium.org/1232003/diff/4002/20002 File chrome/browser/extensions/extension_updater.cc (right): http://codereview.chromium.org/1232003/diff/4002/20002#newcode675 chrome/browser/extensions/extension_updater.cc:675: int no_url_count_, google_url_count_, other_url_count_, theme_count_; ...
10 years, 9 months ago (2010-03-25 03:34:36 UTC) #4
asargent_no_longer_on_chrome
Looking good, just a couple minor issues. http://codereview.chromium.org/1232003/diff/33001/17005 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/1232003/diff/33001/17005#newcode224 chrome/browser/extensions/extensions_service.cc:224: void DeleteFileHelper(const ...
10 years, 9 months ago (2010-03-25 17:06:41 UTC) #5
akalin
Please take another look. http://codereview.chromium.org/1232003/diff/33001/17005 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/1232003/diff/33001/17005#newcode224 chrome/browser/extensions/extensions_service.cc:224: void DeleteFileHelper(const FilePath& path, bool ...
10 years, 9 months ago (2010-03-25 21:44:49 UTC) #6
asargent_no_longer_on_chrome
10 years, 9 months ago (2010-03-25 21:54:35 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698