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

Issue 2885143003: [Extensions] Remove external errors on profile shutdown (Closed)

Created:
3 years, 7 months ago by Devlin
Modified:
3 years, 7 months ago
Reviewers:
Finnur
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Remove external errors on profile shutdown When an external error is deleted, it removes itself from the global error service. Make sure to do this before the profile's services are shut down by watching for the profile deleted notification. Add a regression test. BUG=720081 Review-Url: https://codereview.chromium.org/2885143003 Cr-Commit-Position: refs/heads/master@{#472863} Committed: https://chromium.googlesource.com/chromium/src/+/a1c3f1a769e89d9462488f704e00dfd2b22ffdc9

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -13 lines) Patch
M chrome/browser/extensions/external_install_error.cc View 2 chunks +7 lines, -0 lines 2 comments Download
A chrome/browser/extensions/external_install_error_browsertest.cc View 1 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/browser/extensions/external_install_manager.cc View 2 chunks +27 lines, -13 lines 0 comments Download
M chrome/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
Devlin
Heya Finnur, mind taking a look?
3 years, 7 months ago (2017-05-17 15:09:14 UTC) #10
Finnur
https://codereview.chromium.org/2885143003/diff/20001/chrome/browser/extensions/external_install_error.cc File chrome/browser/extensions/external_install_error.cc (right): https://codereview.chromium.org/2885143003/diff/20001/chrome/browser/extensions/external_install_error.cc#newcode316 chrome/browser/extensions/external_install_error.cc:316: #if DCHECK_IS_ON() Why the #if check?
3 years, 7 months ago (2017-05-17 16:15:11 UTC) #11
Devlin
https://codereview.chromium.org/2885143003/diff/20001/chrome/browser/extensions/external_install_error.cc File chrome/browser/extensions/external_install_error.cc (right): https://codereview.chromium.org/2885143003/diff/20001/chrome/browser/extensions/external_install_error.cc#newcode316 chrome/browser/extensions/external_install_error.cc:316: #if DCHECK_IS_ON() On 2017/05/17 16:15:11, Finnur wrote: > Why ...
3 years, 7 months ago (2017-05-17 16:17:26 UTC) #12
Finnur
LGTM
3 years, 7 months ago (2017-05-18 14:02:25 UTC) #13
Devlin
Thanks for the review! :)
3 years, 7 months ago (2017-05-18 14:47:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2885143003/20001
3 years, 7 months ago (2017-05-18 14:48:25 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 17:46:02 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a1c3f1a769e89d9462488f704e00...

Powered by Google App Engine
This is Rietveld 408576698