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

Issue 207613002: Cleanup: Remove NOTIFICATION_EXTENSION_UNLOADED usage in MediaScanManager. (Closed)

Created:
6 years, 9 months ago by Lei Zhang
Modified:
6 years, 8 months ago
CC:
chromium-reviews, vandebo (ex-Chrome), extensions-reviews_chromium.org, Lei Zhang, tommycli, Greg Billock, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

Cleanup: Remove NOTIFICATION_EXTENSION_UNLOADED usage in MediaScanManager. BUG=354046 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262295

Patch Set 1 : #

Patch Set 2 : rebase #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : fix compile #

Patch Set 6 : rebase #

Patch Set 7 : rebase, add error console #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -79 lines) Patch
M base/scoped_observer.h View 1 2 3 4 5 2 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.h View 1 2 3 4 5 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/error_console/error_console.h View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/error_console/error_console.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/media_galleries/media_scan_manager.h View 1 2 3 4 5 3 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/media_galleries/media_scan_manager.cc View 1 2 3 4 5 7 chunks +15 lines, -33 lines 0 comments Download
M extensions/browser/extension_registry.h View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M extensions/browser/extension_registry.cc View 1 2 3 4 5 2 chunks +8 lines, -5 lines 0 comments Download
M extensions/browser/extension_registry_factory.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extension_registry_observer.h View 1 2 3 4 5 2 chunks +11 lines, -3 lines 0 comments Download
M extensions/browser/extension_registry_unittest.cc View 1 2 3 4 5 6 chunks +9 lines, -7 lines 0 comments Download
M extensions/browser/runtime_data.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/runtime_data.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M extensions/browser/runtime_data_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
Lei Zhang
6 years, 9 months ago (2014-03-27 20:56:19 UTC) #1
not at google - send to devlin
lgtm
6 years, 9 months ago (2014-03-27 21:33:12 UTC) #2
Lei Zhang
thakis: base OWNERS review please.
6 years, 9 months ago (2014-03-27 22:58:14 UTC) #3
Nico
https://codereview.chromium.org/207613002/diff/60001/chrome/browser/media_galleries/media_scan_manager.cc File chrome/browser/media_galleries/media_scan_manager.cc (right): https://codereview.chromium.org/207613002/diff/60001/chrome/browser/media_galleries/media_scan_manager.cc#newcode514 chrome/browser/media_galleries/media_scan_manager.cc:514: scoped_extension_registry_observer_.RemoveAll(); Won't RemoveObserver() be called twice now? (Once here, ...
6 years, 9 months ago (2014-03-27 23:01:29 UTC) #4
Lei Zhang
https://codereview.chromium.org/207613002/diff/60001/chrome/browser/media_galleries/media_scan_manager.cc File chrome/browser/media_galleries/media_scan_manager.cc (right): https://codereview.chromium.org/207613002/diff/60001/chrome/browser/media_galleries/media_scan_manager.cc#newcode514 chrome/browser/media_galleries/media_scan_manager.cc:514: scoped_extension_registry_observer_.RemoveAll(); On 2014/03/27 23:01:29, Nico wrote: > Won't RemoveObserver() ...
6 years, 9 months ago (2014-03-27 23:07:04 UTC) #5
Nico
https://codereview.chromium.org/207613002/diff/60001/base/scoped_observer.h File base/scoped_observer.h (right): https://codereview.chromium.org/207613002/diff/60001/base/scoped_observer.h#newcode39 base/scoped_observer.h:39: sources_[i]->RemoveObserver(observer_); and you don't think it's better to do ...
6 years, 9 months ago (2014-03-28 03:34:12 UTC) #6
Lei Zhang
https://codereview.chromium.org/207613002/diff/60001/base/scoped_observer.h File base/scoped_observer.h (right): https://codereview.chromium.org/207613002/diff/60001/base/scoped_observer.h#newcode39 base/scoped_observer.h:39: sources_[i]->RemoveObserver(observer_); On 2014/03/28 03:34:12, Nico wrote: > and you ...
6 years, 9 months ago (2014-03-28 03:40:55 UTC) #7
Nico
lgtm
6 years, 9 months ago (2014-03-28 03:42:11 UTC) #8
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 9 months ago (2014-03-28 03:43:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/207613002/80001
6 years, 9 months ago (2014-03-28 03:43:34 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 04:40:41 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=290144
6 years, 9 months ago (2014-03-28 04:40:42 UTC) #12
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 9 months ago (2014-03-28 06:36:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/207613002/100001
6 years, 9 months ago (2014-03-28 06:37:58 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 11:22:01 UTC) #15
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) crypto_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=137115
6 years, 9 months ago (2014-03-28 11:22:01 UTC) #16
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 9 months ago (2014-03-28 20:59:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/207613002/100001
6 years, 9 months ago (2014-03-28 21:01:08 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 23:44:38 UTC) #19
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-28 23:44:38 UTC) #20
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 8 months ago (2014-04-01 21:04:23 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/207613002/100001
6 years, 8 months ago (2014-04-01 21:05:24 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-01 21:05:30 UTC) #23
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/api/media_galleries_private/gallery_watch_state_tracker.cc: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-01 21:05:31 UTC) #24
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 8 months ago (2014-04-01 21:08:45 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/207613002/120001
6 years, 8 months ago (2014-04-01 21:09:31 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/207613002/120001
6 years, 8 months ago (2014-04-01 22:53:35 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-01 23:05:54 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on mac_chromium_compile_dbg
6 years, 8 months ago (2014-04-01 23:05:55 UTC) #29
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 8 months ago (2014-04-07 19:14:35 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/207613002/120001
6 years, 8 months ago (2014-04-07 19:14:40 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-07 20:29:37 UTC) #32
commit-bot: I haz the power
Retried try job too often on android_clang_dbg for step(s) slave_steps http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android_clang_dbg&number=130422 Try jobs failed on ...
6 years, 8 months ago (2014-04-07 20:29:37 UTC) #33
Lei Zhang
The CQ bit was checked by thestig@chromium.org
6 years, 8 months ago (2014-04-07 21:58:43 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/207613002/140001
6 years, 8 months ago (2014-04-07 21:59:23 UTC) #35
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 04:01:13 UTC) #36
Message was sent while issue was closed.
Change committed as 262295

Powered by Google App Engine
This is Rietveld 408576698