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

Issue 1278003: Rework ordering in ExtensionsService::UninstallExtension() (Closed)

Created:
10 years, 9 months ago by use mnissler at chromium.org
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Rework ordering in ExtensionsService::UninstallExtension() BUG=39147 TEST=Existing tests in extensions_service_unittest.cc Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=42752

Patch Set 1 #

Patch Set 2 : Updates. #

Total comments: 4

Patch Set 3 : Updates. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -17 lines) Patch
M chrome/browser/extensions/extension_prefs.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 2 1 chunk +16 lines, -10 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
use mnissler at chromium.org
Erik, here is my proposal. Note that I've removed the UnregisterChromeURLOverrides() call, since it is ...
10 years, 9 months ago (2010-03-25 17:16:58 UTC) #1
Erik does not do reviews
LGTM http://codereview.chromium.org/1278003/diff/2001/3003 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/1278003/diff/2001/3003#newcode278 chrome/browser/extensions/extensions_service.cc:278: // Also copy the extension identifier since the ...
10 years, 9 months ago (2010-03-25 19:29:31 UTC) #2
use mnissler at chromium.org
10 years, 9 months ago (2010-03-26 10:14:43 UTC) #3
http://codereview.chromium.org/1278003/diff/2001/3003
File chrome/browser/extensions/extensions_service.cc (right):

http://codereview.chromium.org/1278003/diff/2001/3003#newcode278
chrome/browser/extensions/extensions_service.cc:278: // Also copy the extension
identifier since the reference might have been
On 2010/03/25 19:29:31, Erik Kay wrote:
> nit: newline above comment

Done.

http://codereview.chromium.org/1278003/diff/2001/3003#newcode282
chrome/browser/extensions/extensions_service.cc:282:
UnloadExtension(extension_id);
On 2010/03/25 19:29:31, Erik Kay wrote:
> maybe add a comment here: "Unload before doing more cleanup to ensure that
> nothing is hanging on to any of these resources."

Done.

Powered by Google App Engine
This is Rietveld 408576698