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

Issue 565213002: ChromeLaunchController does proper action when extension unloaded (Closed)

Created:
6 years, 3 months ago by limasdf
Modified:
6 years, 3 months ago
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

* Remove deprecated extension notification and use ExtensionRegistry instead. * When extension unloaded, ChromeLauncherController check the profile, and does action only for the correct profile. R=jamescook@chromium.org, skuhne@chromium.org BUG=354046, 411568 TEST=unit_tests Committed: https://crrev.com/ee8d1232c7c633fdbad14c1d509e5774b7f7556b Cr-Commit-Position: refs/heads/master@{#295006}

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : remove member #

Patch Set 4 : close window, unpin depending on profile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -61 lines) Patch
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 3 6 chunks +14 lines, -11 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 5 chunks +41 lines, -50 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
limasdf
James, PTAL when you have time.
6 years, 3 months ago (2014-09-12 18:05:58 UTC) #4
James Cook
https://codereview.chromium.org/565213002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (left): https://codereview.chromium.org/565213002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#oldcode428 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:428: notification_registrar_.Add( +skuhne -- I'm not sure about the old ...
6 years, 3 months ago (2014-09-12 20:35:36 UTC) #6
limasdf
https://codereview.chromium.org/565213002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): https://codereview.chromium.org/565213002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode2079 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:2079: extension_registry_ = extensions::ExtensionRegistry::Get(profile_); On 2014/09/12 20:35:35, James Cook wrote: ...
6 years, 3 months ago (2014-09-12 20:53:00 UTC) #7
Mr4D (OOO till 08-26)
Good point James! Yes, there is a bit more work there. Sorry. https://codereview.chromium.org/565213002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc ...
6 years, 3 months ago (2014-09-12 23:12:11 UTC) #8
limasdf
PTAL. added code that check profile. https://codereview.chromium.org/565213002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): https://codereview.chromium.org/565213002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode1192 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:1192: reason == UnloadedExtensionInfo::REASON_UNINSTALL) ...
6 years, 3 months ago (2014-09-13 18:31:02 UTC) #9
limasdf
also updated commit description, please lemme know if you want to correct it.
6 years, 3 months ago (2014-09-13 18:42:57 UTC) #10
Mr4D (OOO till 08-26)
lgtm. Thanks for fixing this!
6 years, 3 months ago (2014-09-13 19:06:51 UTC) #11
limasdf
Thanks much for the review!
6 years, 3 months ago (2014-09-14 04:16:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/565213002/100001
6 years, 3 months ago (2014-09-14 04:16:43 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/12406)
6 years, 3 months ago (2014-09-14 05:29:53 UTC) #16
James Cook
lgtm
6 years, 3 months ago (2014-09-15 17:01:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/565213002/100001
6 years, 3 months ago (2014-09-15 18:02:05 UTC) #19
limasdf
On 2014/09/15 18:02:05, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 3 months ago (2014-09-15 18:22:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/565213002/100001
6 years, 3 months ago (2014-09-16 04:39:40 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:100001) as c60dc9707b0084df933b419be4f97e9370c64d34
6 years, 3 months ago (2014-09-16 04:43:29 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-16 04:44:48 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ee8d1232c7c633fdbad14c1d509e5774b7f7556b
Cr-Commit-Position: refs/heads/master@{#295006}

Powered by Google App Engine
This is Rietveld 408576698