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

Issue 12212083: Media Galleries: Only try to initialize removable media galleries once per profile. (Closed)

Created:
7 years, 10 months ago by Lei Zhang
Modified:
7 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, Aaron Boodman, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Media Galleries: Only try to initialize removable media galleries once per profile. BUG=174836 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182141

Patch Set 1 : #

Patch Set 2 : rebase #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -6 lines) Patch
M chrome/browser/media_gallery/media_file_system_registry.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.cc View 1 2 3 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Lei Zhang
The bug in question here is a case where |extension_hosts_map_| remains empty. Thus GetPreferences() gets ...
7 years, 10 months ago (2013-02-08 04:02:22 UTC) #1
kmadhusu
lgtm
7 years, 10 months ago (2013-02-08 19:21:11 UTC) #2
vandebo (ex-Chrome)
Actually I think the bug is one level down. In MediaGalleriesPreferences::AddGallery, we should only update ...
7 years, 10 months ago (2013-02-08 19:40:27 UTC) #3
Lei Zhang
On 2013/02/08 19:40:27, vandebo wrote: > Actually I think the bug is one level down. ...
7 years, 10 months ago (2013-02-08 20:01:21 UTC) #4
vandebo (ex-Chrome)
On 2013/02/08 20:01:21, Lei Zhang wrote: > On 2013/02/08 19:40:27, vandebo wrote: > > Actually ...
7 years, 10 months ago (2013-02-08 20:39:11 UTC) #5
Lei Zhang
On 2013/02/08 20:39:11, vandebo wrote: > That's not my concern. There's currently an invariant that ...
7 years, 10 months ago (2013-02-08 22:00:32 UTC) #6
vandebo (ex-Chrome)
On 2013/02/08 22:00:32, Lei Zhang wrote: > On 2013/02/08 20:39:11, vandebo wrote: > > That's ...
7 years, 10 months ago (2013-02-08 22:29:25 UTC) #7
Lei Zhang
Rebased in patch set 2.
7 years, 10 months ago (2013-02-12 17:38:17 UTC) #8
vandebo (ex-Chrome)
Please update the issue description; if you think it needs to be updated. https://chromiumcodereview.appspot.com/12212083/diff/8005/chrome/browser/media_gallery/media_file_system_registry.cc File ...
7 years, 10 months ago (2013-02-12 22:44:30 UTC) #9
Lei Zhang
https://chromiumcodereview.appspot.com/12212083/diff/8005/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/12212083/diff/8005/chrome/browser/media_gallery/media_file_system_registry.cc#newcode548 chrome/browser/media_gallery/media_file_system_registry.cc:548: // Create an empty entry so the initialization code ...
7 years, 10 months ago (2013-02-12 23:01:53 UTC) #10
vandebo (ex-Chrome)
LGTM https://chromiumcodereview.appspot.com/12212083/diff/8005/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (left): https://chromiumcodereview.appspot.com/12212083/diff/8005/chrome/browser/media_gallery/media_file_system_registry.cc#oldcode807 chrome/browser/media_gallery/media_file_system_registry.cc:807: extension_hosts_map_.erase(extension_hosts); nit: add a comment about not erasing ...
7 years, 10 months ago (2013-02-12 23:11:37 UTC) #11
Lei Zhang
https://chromiumcodereview.appspot.com/12212083/diff/8005/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (left): https://chromiumcodereview.appspot.com/12212083/diff/8005/chrome/browser/media_gallery/media_file_system_registry.cc#oldcode807 chrome/browser/media_gallery/media_file_system_registry.cc:807: extension_hosts_map_.erase(extension_hosts); On 2013/02/12 23:11:37, vandebo wrote: > nit: add ...
7 years, 10 months ago (2013-02-12 23:30:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/12212083/6005
7 years, 10 months ago (2013-02-13 02:55:40 UTC) #13
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 06:27:45 UTC) #14
Message was sent while issue was closed.
Change committed as 182141

Powered by Google App Engine
This is Rietveld 408576698