Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Issue 174208: Load extensions that have their manifest in the Prefs on the UI thread. (Closed)

Created:
11 years, 4 months ago by Matt Perry
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Load extensions that have their manifest in the Prefs on the UI thread. There is some migration code for loading old extensions which we do on the UI thread as well, for simplicity. This will only happen the first time the user starts Chrome, so I think it's OK. Also cleaned up the EXTENSIONS_LOADED notification to send out a single extension, instead of a 1-element list of extensions. BUG=18293 TEST=loading extensions should still work Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23997

Patch Set 1 #

Total comments: 6

Patch Set 2 : review #

Total comments: 7

Patch Set 3 : review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -250 lines) Patch
M chrome/browser/extensions/extension_browsertest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_disabled_infobar_delegate.cc View 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 3 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_shelf_model.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extensions_service.h View 1 2 7 chunks +18 lines, -25 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 2 8 chunks +124 lines, -161 lines 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 2 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/extensions/user_script_master.cc View 2 chunks +7 lines, -11 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 2 2 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/plugin_service.cc View 2 chunks +9 lines, -13 lines 0 comments Download
M chrome/common/notification_type.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Matt Perry
11 years, 4 months ago (2009-08-21 00:50:46 UTC) #1
Aaron Boodman
Drive-by: Why do we still need ValidateInstalledExtension()? It seems to me that we should just ...
11 years, 4 months ago (2009-08-21 01:06:41 UTC) #2
Erik does not do reviews
http://codereview.chromium.org/174208/diff/1/4 File chrome/browser/extensions/extension_process_manager.cc (right): http://codereview.chromium.org/174208/diff/1/4#newcode155 Line 155: CreateBackgroundHosts(this, &list); add a TODO to make this ...
11 years, 4 months ago (2009-08-21 01:13:06 UTC) #3
Matt Perry
http://codereview.chromium.org/174208/diff/1/4 File chrome/browser/extensions/extension_process_manager.cc (right): http://codereview.chromium.org/174208/diff/1/4#newcode155 Line 155: CreateBackgroundHosts(this, &list); On 2009/08/21 01:13:06, Erik Kay wrote: ...
11 years, 4 months ago (2009-08-21 01:51:32 UTC) #4
Erik does not do reviews
http://codereview.chromium.org/174208/diff/1015/20 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/174208/diff/1015/20#newcode599 Line 599: if (CheckExternalUninstall(id, location)) { since this is the ...
11 years, 4 months ago (2009-08-21 15:46:05 UTC) #5
Matt Perry
OK, I got rid of the Check* methods and now just call CheckExternalInstall directly for ...
11 years, 4 months ago (2009-08-21 18:10:59 UTC) #6
Erik does not do reviews
11 years, 4 months ago (2009-08-21 18:22:21 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698