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

Issue 23636002: Fixed how Apps Developer Tools is enabled/disabled (Closed)

Created:
7 years, 3 months ago by dvh
Modified:
7 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Revert dangerous changes of r218112: - InstallTracker::Oberve() could trigger OnExtensionUninstalled() twice because NOTIFICATION_EXTENSION_UNLOADED notification with reason UNLOAD_REASON_UNINSTALL could be sent along with an additional NOTIFICATION_EXTENSION_UNINSTALLED. - In ComponentLoader::UnloadComponent(), change reason back to UNLOAD_REASON_DISABLE. Change how Apps Developer Tools is disabled: - Use ExtensionService::UninstallExtension() instead of ComponentLoad::Remove() to remove Apps Developer Tools. It makes the codepath consistent with regular extension uninstall. BUG=278393, 277897 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221329

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Fixed unit tests. #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -7 lines) Patch
M chrome/browser/extensions/component_loader.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/extensions/component_loader.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/component_loader_unittest.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/install_tracker.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/extensions/test_extension_service.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/test_extension_service.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
dvh
xiyuan@ for chrome/browser/ui/webui/extensions/* asargent@ for chrome/browser/extensions/* PTAL. Thanks!
7 years, 3 months ago (2013-08-27 20:57:31 UTC) #1
xiyuan
What happens if user enables develop mode again?
7 years, 3 months ago (2013-08-27 21:43:48 UTC) #2
dvh
On 2013/08/27 21:43:48, xiyuan wrote: > What happens if user enables develop mode again? It ...
7 years, 3 months ago (2013-08-27 22:17:55 UTC) #3
dvh
On 2013/08/27 22:17:55, dvh wrote: > On 2013/08/27 21:43:48, xiyuan wrote: > > What happens ...
7 years, 3 months ago (2013-08-27 22:18:12 UTC) #4
xiyuan
On 2013/08/27 22:18:12, dvh wrote: > On 2013/08/27 22:17:55, dvh wrote: > > On 2013/08/27 ...
7 years, 3 months ago (2013-08-27 22:43:25 UTC) #5
dvh
On 2013/08/27 22:43:25, xiyuan wrote: > On 2013/08/27 22:18:12, dvh wrote: > > On 2013/08/27 ...
7 years, 3 months ago (2013-08-28 23:06:25 UTC) #6
xiyuan
I wonder if we could solve issue 278393 in a different way. We keep what ...
7 years, 3 months ago (2013-08-29 00:43:22 UTC) #7
koz (OOO until 15th September)
On 2013/08/29 00:43:22, xiyuan wrote: > I wonder if we could solve issue 278393 in ...
7 years, 3 months ago (2013-08-29 01:04:21 UTC) #8
Matt Perry
This makes sense. Though I'm not sure what it means to uninstall a component extension. ...
7 years, 3 months ago (2013-08-29 19:27:32 UTC) #9
dvh
On 2013/08/29 19:27:32, Matt Perry wrote: > This makes sense. Though I'm not sure what ...
7 years, 3 months ago (2013-08-29 20:09:44 UTC) #10
not at google - send to devlin
On 2013/08/29 20:09:44, dvh wrote: > On 2013/08/29 19:27:32, Matt Perry wrote: > > This ...
7 years, 3 months ago (2013-08-29 21:34:53 UTC) #11
dvh
On 2013/08/29 21:34:53, kalman wrote: > On 2013/08/29 20:09:44, dvh wrote: > > On 2013/08/29 ...
7 years, 3 months ago (2013-08-29 21:45:59 UTC) #12
asargent_no_longer_on_chrome
lgtm, since this is essentially a revert that restores us back to how the code ...
7 years, 3 months ago (2013-08-30 22:23:00 UTC) #13
dvh
On 2013/08/30 22:23:00, Antony Sargent wrote: > lgtm, since this is essentially a revert that ...
7 years, 3 months ago (2013-08-31 00:05:18 UTC) #14
xiyuan
On 2013/08/31 00:05:18, dvh wrote: > On 2013/08/30 22:23:00, Antony Sargent wrote: > > lgtm, ...
7 years, 3 months ago (2013-08-31 00:42:27 UTC) #15
Matt Perry
also lgtm
7 years, 3 months ago (2013-08-31 00:56:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dvh@chromium.org/23636002/10001
7 years, 3 months ago (2013-09-03 17:18:52 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-03 17:46:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dvh@chromium.org/23636002/42001
7 years, 3 months ago (2013-09-03 23:19:28 UTC) #19
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=73881
7 years, 3 months ago (2013-09-04 00:18:04 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dvh@chromium.org/23636002/60001
7 years, 3 months ago (2013-09-04 05:49:18 UTC) #21
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=75314
7 years, 3 months ago (2013-09-04 17:49:59 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dvh@chromium.org/23636002/60001
7 years, 3 months ago (2013-09-05 01:45:29 UTC) #23
commit-bot: I haz the power
7 years, 3 months ago (2013-09-05 02:09:51 UTC) #24
Message was sent while issue was closed.
Change committed as 221329

Powered by Google App Engine
This is Rietveld 408576698