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

Issue 120303003: [StorageMonitor] Move gallery name generation to StorageInfo. (Closed)

Created:
7 years ago by Haojian Wu
Modified:
6 years, 9 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, tommycli, Greg Billock, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[StorageMonitor] Move name generation to StorageInfo. BUG=261350 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256185

Patch Set 1 #

Patch Set 2 : update #

Total comments: 7

Patch Set 3 : update #

Total comments: 1

Patch Set 4 : set with_size #

Patch Set 5 : update #

Total comments: 24

Patch Set 6 : address vandebo's comments #

Total comments: 4

Patch Set 7 : update #

Total comments: 3

Patch Set 8 : update #

Patch Set 9 : fix unittest build error on mac/linux/chromeos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -271 lines) Patch
M chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc View 1 2 3 4 5 6 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/media_galleries_private/media_galleries_private_event_router.cc View 1 2 3 4 1 chunk +1 line, -11 lines 0 comments Download
M chrome/browser/extensions/api/system_storage/storage_api_test_util.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/extensions/api/system_storage/storage_info_provider.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/media_file_system_registry_unittest.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/media_galleries/media_galleries_preferences.cc View 1 2 3 4 5 5 chunks +5 lines, -37 lines 0 comments Download
M chrome/browser/media_galleries/media_galleries_preferences_unittest.cc View 1 2 3 4 18 chunks +115 lines, -115 lines 0 comments Download
M chrome/browser/media_galleries/win/mtp_device_delegate_impl_win_unittest.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M components/storage_monitor/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/storage_monitor/image_capture_device_manager.mm View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M components/storage_monitor/media_storage_util_unittest.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M components/storage_monitor/media_transfer_protocol_device_observer_linux.cc View 1 2 3 4 5 1 chunk +6 lines, -5 lines 0 comments Download
M components/storage_monitor/media_transfer_protocol_device_observer_linux_unittest.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M components/storage_monitor/portable_device_watcher_win.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M components/storage_monitor/storage_info.h View 1 2 3 4 4 chunks +8 lines, -6 lines 0 comments Download
M components/storage_monitor/storage_info.cc View 1 2 3 4 5 6 7 4 chunks +53 lines, -2 lines 0 comments Download
M components/storage_monitor/storage_monitor.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M components/storage_monitor/storage_monitor_chromeos.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M components/storage_monitor/storage_monitor_chromeos_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +0 lines, -7 lines 0 comments Download
M components/storage_monitor/storage_monitor_linux.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M components/storage_monitor/storage_monitor_linux_unittest.cc View 1 2 3 4 5 6 7 8 7 chunks +0 lines, -8 lines 0 comments Download
M components/storage_monitor/storage_monitor_mac.mm View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/storage_monitor/storage_monitor_mac_unittest.mm View 1 2 3 4 5 6 7 8 7 chunks +2 lines, -9 lines 0 comments Download
M components/storage_monitor/storage_monitor_unittest.cc View 1 2 3 4 5 chunks +6 lines, -17 lines 0 comments Download
M components/storage_monitor/storage_monitor_win_unittest.cc View 1 2 3 4 5 3 chunks +9 lines, -10 lines 0 comments Download
M components/storage_monitor/test_storage_monitor.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M components/storage_monitor/test_volume_mount_watcher_win.cc View 1 2 3 4 5 2 chunks +5 lines, -6 lines 0 comments Download
M components/storage_monitor/volume_mount_watcher_win.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Haojian Wu
Please review it. Thanks.
7 years ago (2013-12-23 16:07:58 UTC) #1
vandebo (ex-Chrome)
https://codereview.chromium.org/120303003/diff/30001/chrome/browser/storage_monitor/media_storage_util.cc File chrome/browser/storage_monitor/media_storage_util.cc (right): https://codereview.chromium.org/120303003/diff/30001/chrome/browser/storage_monitor/media_storage_util.cc#newcode187 chrome/browser/storage_monitor/media_storage_util.cc:187: if (!GetDeviceInfoFromPath(absolute_path, &storage_info, &relative_path)) I think this ends up ...
6 years, 11 months ago (2014-01-08 19:46:24 UTC) #2
Lei Zhang
FYI, you may be interested in https://codereview.chromium.org/19489006/
6 years, 11 months ago (2014-01-08 19:55:37 UTC) #3
Haojian Wu
On 2014/01/08 19:55:37, Lei Zhang wrote: > FYI, you may be interested in https://codereview.chromium.org/19489006/ Oh, ...
6 years, 11 months ago (2014-01-08 23:56:40 UTC) #4
Haojian Wu
This patch has been updated. Sorry for the delay. Please review it again. Thanks. https://codereview.chromium.org/120303003/diff/30001/chrome/browser/storage_monitor/media_storage_util.cc ...
6 years, 11 months ago (2014-01-20 09:43:00 UTC) #5
vandebo (ex-Chrome)
Sorry for the very long delay on this review. It dropped off my radar. Feel ...
6 years, 10 months ago (2014-02-26 00:19:16 UTC) #6
Haojian Wu
On 2014/02/26 00:19:16, vandebo wrote: > Sorry for the very long delay on this review. ...
6 years, 9 months ago (2014-02-27 15:29:37 UTC) #7
Haojian Wu
On 2014/02/27 15:29:37, Haojian Wu wrote: > On 2014/02/26 00:19:16, vandebo wrote: > > Sorry ...
6 years, 9 months ago (2014-03-03 16:45:01 UTC) #8
vandebo (ex-Chrome)
You may have missed updates to these two files: https://codereview.chromium.org/19489006/diff/140001/chrome/browser/storage_monitor/storage_monitor_win_unittest.cc https://codereview.chromium.org/19489006/diff/140001/chrome/browser/extensions/api/media_galleries_private/media_galleries_eject_apitest.cc The TEST= line is ...
6 years, 9 months ago (2014-03-03 19:58:30 UTC) #9
Haojian Wu
On 2014/03/03 19:58:30, vandebo wrote: > You may have missed updates to these two files: ...
6 years, 9 months ago (2014-03-04 04:58:18 UTC) #10
Haojian Wu
https://codereview.chromium.org/120303003/diff/330001/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc File chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc (right): https://codereview.chromium.org/120303003/diff/330001/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc#newcode96 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc:96: base::ASCIIToUTF16(kDeviceName), base::string16(), On 2014/03/03 19:58:31, vandebo wrote: > rename ...
6 years, 9 months ago (2014-03-04 05:00:11 UTC) #11
vandebo (ex-Chrome)
https://codereview.chromium.org/120303003/diff/330001/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc File chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc (right): https://codereview.chromium.org/120303003/diff/330001/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc#newcode96 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc:96: base::ASCIIToUTF16(kDeviceName), base::string16(), On 2014/03/04 05:00:12, Haojian Wu wrote: > ...
6 years, 9 months ago (2014-03-04 19:24:47 UTC) #12
Haojian Wu
https://codereview.chromium.org/120303003/diff/330001/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc File chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc (right): https://codereview.chromium.org/120303003/diff/330001/chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc#newcode96 chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc:96: base::ASCIIToUTF16(kDeviceName), base::string16(), On 2014/03/04 19:24:47, vandebo wrote: > On ...
6 years, 9 months ago (2014-03-05 07:28:08 UTC) #13
vandebo (ex-Chrome)
https://codereview.chromium.org/120303003/diff/370001/components/storage_monitor/storage_info.cc File components/storage_monitor/storage_info.cc (right): https://codereview.chromium.org/120303003/diff/370001/components/storage_monitor/storage_info.cc#newcode190 components/storage_monitor/storage_info.cc:190: return base::FilePath(location_).LossyDisplayName(); On 2014/03/05 07:28:09, Haojian Wu wrote: > ...
6 years, 9 months ago (2014-03-05 17:39:57 UTC) #14
Haojian Wu
https://codereview.chromium.org/120303003/diff/370001/components/storage_monitor/storage_info.cc File components/storage_monitor/storage_info.cc (right): https://codereview.chromium.org/120303003/diff/370001/components/storage_monitor/storage_info.cc#newcode190 components/storage_monitor/storage_info.cc:190: return base::FilePath(location_).LossyDisplayName(); On 2014/03/05 17:39:57, vandebo wrote: > On ...
6 years, 9 months ago (2014-03-07 11:28:21 UTC) #15
vandebo (ex-Chrome)
LGTM
6 years, 9 months ago (2014-03-07 16:43:07 UTC) #16
vandebo (ex-Chrome)
The CQ bit was checked by vandebo@chromium.org
6 years, 9 months ago (2014-03-07 16:43:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Hokein.Wu@gmail.com/120303003/390001
6 years, 9 months ago (2014-03-07 16:43:52 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-07 17:09:45 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-07 17:09:46 UTC) #20
Haojian Wu
+ben for ui/base in DEPS +hongbo for systemInfo part.
6 years, 9 months ago (2014-03-08 01:41:30 UTC) #21
tfarina
On 2014/03/08 01:41:30, Haojian Wu wrote: > +ben for ui/base in DEPS Are you sure? ...
6 years, 9 months ago (2014-03-08 02:33:09 UTC) #22
vandebo (ex-Chrome)
On Mar 7, 2014 6:33 PM, <tfarina@chromium.org> wrote: > > On 2014/03/08 01:41:30, Haojian Wu ...
6 years, 9 months ago (2014-03-08 02:51:07 UTC) #23
Hongbo Min
On 2014/03/08 01:41:30, Haojian Wu wrote: > +hongbo for systemInfo part. lgtm for system info ...
6 years, 9 months ago (2014-03-10 02:09:42 UTC) #24
Ben Goodger (Google)
lgtm for ui/base in DEPS
6 years, 9 months ago (2014-03-10 20:11:46 UTC) #25
Haojian Wu
The CQ bit was checked by hokein.wu@gmail.com
6 years, 9 months ago (2014-03-11 01:19:04 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/Hokein.Wu@gmail.com/120303003/410001
6 years, 9 months ago (2014-03-11 01:22:39 UTC) #27
commit-bot: I haz the power
Change committed as 256185
6 years, 9 months ago (2014-03-11 10:57:08 UTC) #28
Lei Zhang
6 years, 9 months ago (2014-03-11 20:05:01 UTC) #29
Message was sent while issue was closed.
On 2014/03/11 10:57:08, I haz the power (commit-bot) wrote:
> Change committed as 256185

Woohoo! Thanks for taking over this CL and landing it.

Powered by Google App Engine
This is Rietveld 408576698