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

Issue 10871049: Connect MediaFileSystemRegistry with MediaGalleriesPreferences (Closed)

Created:
8 years, 4 months ago by vandebo (ex-Chrome)
Modified:
8 years, 3 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, kmadhusu
Visibility:
Public.

Description

Connect MediaFileSystemRegistry with MediaGalleriesPreferences Refactor MediaFileSystemRegistry to make state easier to manage and connect the extension preferences to the registry. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155534

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Checkpoint #

Patch Set 6 : Checkpoint #

Patch Set 7 : Self review #

Total comments: 35

Patch Set 8 : Address comments #

Total comments: 17

Patch Set 9 : Rebase and address comments #

Patch Set 10 : Work around corner case #

Patch Set 11 : Fix win - use after free #

Unified diffs Side-by-side diffs Delta from patch set Stats (+378 lines, -207 lines) Patch
M chrome/browser/extensions/api/media_galleries/media_galleries_api.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/intents/device_attached_intent_source.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.h View 1 2 3 4 5 6 7 3 chunks +21 lines, -43 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +326 lines, -125 lines 0 comments Download
M chrome/browser/system_monitor/media_storage_util.h View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/system_monitor/media_storage_util.cc View 1 2 3 4 5 6 7 8 4 chunks +19 lines, -28 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Lei Zhang
https://chromiumcodereview.appspot.com/10871049/diff/1/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc File chrome/browser/extensions/api/media_galleries/media_galleries_api.cc (right): https://chromiumcodereview.appspot.com/10871049/diff/1/chrome/browser/extensions/api/media_galleries/media_galleries_api.cc#newcode73 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc:73: media_fs_registry->GetMediaFileSystemsForExtension(rph, *GetExtension()); Don't you need to pass in a ...
8 years, 4 months ago (2012-08-24 04:39:04 UTC) #1
vandebo (ex-Chrome)
As we discussed, tests will come later in the review process or in a follow ...
8 years, 3 months ago (2012-09-04 21:02:20 UTC) #2
Lei Zhang
https://chromiumcodereview.appspot.com/10871049/diff/12003/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): https://chromiumcodereview.appspot.com/10871049/diff/12003/chrome/browser/intents/device_attached_intent_source.cc#newcode107 chrome/browser/intents/device_attached_intent_source.cc:107: DCHECK(MediaStorageUtil::IsRemovableDevice(id)); I think you need to remove this? https://chromiumcodereview.appspot.com/10871049/diff/12003/chrome/browser/media_gallery/media_file_system_registry.cc ...
8 years, 3 months ago (2012-09-04 23:38:51 UTC) #3
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/10871049/diff/12003/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): https://chromiumcodereview.appspot.com/10871049/diff/12003/chrome/browser/intents/device_attached_intent_source.cc#newcode107 chrome/browser/intents/device_attached_intent_source.cc:107: DCHECK(MediaStorageUtil::IsRemovableDevice(id)); On 2012/09/04 23:38:51, Lei Zhang wrote: > I ...
8 years, 3 months ago (2012-09-05 00:58:12 UTC) #4
Lei Zhang
https://chromiumcodereview.appspot.com/10871049/diff/14010/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10871049/diff/14010/chrome/browser/media_gallery/media_file_system_registry.cc#newcode60 chrome/browser/media_gallery/media_file_system_registry.cc:60: //typedef std::list<InvalidatedGalleryInfo> InvalidatedGalleriesInfo; Remove debug code? https://chromiumcodereview.appspot.com/10871049/diff/14010/chrome/browser/media_gallery/media_file_system_registry.cc#newcode126 chrome/browser/media_gallery/media_file_system_registry.cc:126: pref_id_map_[*id] ...
8 years, 3 months ago (2012-09-05 06:29:22 UTC) #5
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/10871049/diff/14010/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10871049/diff/14010/chrome/browser/media_gallery/media_file_system_registry.cc#newcode60 chrome/browser/media_gallery/media_file_system_registry.cc:60: //typedef std::list<InvalidatedGalleryInfo> InvalidatedGalleriesInfo; On 2012/09/05 06:29:22, Lei Zhang wrote: ...
8 years, 3 months ago (2012-09-05 18:25:48 UTC) #6
Lei Zhang
lgtm https://chromiumcodereview.appspot.com/10871049/diff/14010/chrome/browser/media_gallery/media_file_system_registry.cc File chrome/browser/media_gallery/media_file_system_registry.cc (right): https://chromiumcodereview.appspot.com/10871049/diff/14010/chrome/browser/media_gallery/media_file_system_registry.cc#newcode126 chrome/browser/media_gallery/media_file_system_registry.cc:126: pref_id_map_[*id] = new_entry; On 2012/09/05 18:25:48, vandebo wrote: ...
8 years, 3 months ago (2012-09-05 18:31:01 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vandebo@chromium.org/10871049/8025
8 years, 3 months ago (2012-09-07 21:43:40 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-09-07 23:38:07 UTC) #9
Change committed as 155534

Powered by Google App Engine
This is Rietveld 408576698