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

Issue 12544005: Consolidate storage_monitor/MediaDeviceNotificationsUtils into MediaStorageUtil. (Closed)

Created:
7 years, 9 months ago by tommycli
Modified:
7 years, 9 months ago
Reviewers:
Greg Billock
CC:
chromium-reviews, sail+watch_chromium.org, vandebo (ex-Chrome)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Consolidate storage_monitor/MediaDeviceNotificationsUtils into MediaStorageUtil. BUG=NONE TBR=thestig@chromium.org,vandebo@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187438

Patch Set 1 #

Patch Set 2 : Fix some bugs. #

Patch Set 3 : Fix chromeos bug. #

Patch Set 4 : another chromeos fix #

Total comments: 8

Patch Set 5 : Fix a test bug and formatting fixes. #

Patch Set 6 : Merge in a change to be compatible with my changeset. #

Patch Set 7 : Merge in origin/master (again!) #

Patch Set 8 : Fix merge from origin/master #

Patch Set 9 : Fix namespace issue #

Patch Set 10 : Fix race condition in unit test. #

Total comments: 3

Patch Set 11 : Fix mac apply patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -228 lines) Patch
M chrome/browser/media_galleries/media_galleries_dialog_controller.cc View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/storage_monitor/disk_info_mac.mm View 3 chunks +5 lines, -4 lines 0 comments Download
D chrome/browser/storage_monitor/media_device_notifications_utils.h View 1 chunk +0 lines, -34 lines 0 comments Download
D chrome/browser/storage_monitor/media_device_notifications_utils.cc View 1 chunk +0 lines, -54 lines 0 comments Download
D chrome/browser/storage_monitor/media_device_notifications_utils_unittest.cc View 1 chunk +0 lines, -100 lines 0 comments Download
M chrome/browser/storage_monitor/media_storage_util.h View 1 2 3 4 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/storage_monitor/media_storage_util.cc View 1 2 3 4 5 2 chunks +44 lines, -1 line 0 comments Download
M chrome/browser/storage_monitor/media_storage_util_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +92 lines, -9 lines 0 comments Download
M chrome/browser/storage_monitor/storage_monitor_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/storage_monitor/storage_monitor_linux.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc View 1 2 3 4 5 6 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/storage_monitor/storage_monitor_mac.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/storage_monitor/volume_mount_watcher_win.cc View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
tommycli
7 years, 9 months ago (2013-03-06 19:29:37 UTC) #1
Greg Billock
https://codereview.chromium.org/12544005/diff/10002/chrome/browser/storage_monitor/media_device_notifications_utils_unittest.cc File chrome/browser/storage_monitor/media_device_notifications_utils_unittest.cc (left): https://codereview.chromium.org/12544005/diff/10002/chrome/browser/storage_monitor/media_device_notifications_utils_unittest.cc#oldcode76 chrome/browser/storage_monitor/media_device_notifications_utils_unittest.cc:76: // Test to verify that IsMediaDevice() function returns true ...
7 years, 9 months ago (2013-03-06 21:48:27 UTC) #2
Greg Billock
https://codereview.chromium.org/12544005/diff/10002/chrome/browser/storage_monitor/media_storage_util_unittest.cc File chrome/browser/storage_monitor/media_storage_util_unittest.cc (right): https://codereview.chromium.org/12544005/diff/10002/chrome/browser/storage_monitor/media_storage_util_unittest.cc#newcode158 chrome/browser/storage_monitor/media_storage_util_unittest.cc:158: MessageLoop loop; Probably need to use the test loop ...
7 years, 9 months ago (2013-03-06 21:50:53 UTC) #3
tommycli
Addressed your comments to fix up the test and formatting. Not sure if it fixed ...
7 years, 9 months ago (2013-03-07 19:36:48 UTC) #4
Greg Billock
On 2013/03/07 19:36:48, tommycli wrote: > Addressed your comments to fix up the test and ...
7 years, 9 months ago (2013-03-07 20:05:21 UTC) #5
Greg Billock
https://chromiumcodereview.appspot.com/12544005/diff/10002/chrome/browser/storage_monitor/media_storage_util.h File chrome/browser/storage_monitor/media_storage_util.h (right): https://chromiumcodereview.appspot.com/12544005/diff/10002/chrome/browser/storage_monitor/media_storage_util.h#newcode42 chrome/browser/storage_monitor/media_storage_util.h:42: // Returns true, if it is a media device ...
7 years, 9 months ago (2013-03-07 20:05:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/12544005/17001
7 years, 9 months ago (2013-03-07 20:40:19 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=105242
7 years, 9 months ago (2013-03-07 23:10:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/12544005/17001
7 years, 9 months ago (2013-03-08 00:02:32 UTC) #9
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=105334
7 years, 9 months ago (2013-03-08 01:37:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/12544005/58001
7 years, 9 months ago (2013-03-08 02:00:26 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-08 02:41:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/12544005/79001
7 years, 9 months ago (2013-03-08 18:34:44 UTC) #13
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=106855
7 years, 9 months ago (2013-03-08 20:28:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/12544005/79001
7 years, 9 months ago (2013-03-08 21:54:15 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=105623
7 years, 9 months ago (2013-03-08 23:02:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/12544005/108001
7 years, 9 months ago (2013-03-11 17:28:10 UTC) #17
tommycli
In case you desire to review how I changed the test to make it not ...
7 years, 9 months ago (2013-03-11 17:31:01 UTC) #18
Greg Billock
lgtm https://chromiumcodereview.appspot.com/12544005/diff/108001/chrome/browser/storage_monitor/media_storage_util_unittest.cc File chrome/browser/storage_monitor/media_storage_util_unittest.cc (right): https://chromiumcodereview.appspot.com/12544005/diff/108001/chrome/browser/storage_monitor/media_storage_util_unittest.cc#newcode161 chrome/browser/storage_monitor/media_storage_util_unittest.cc:161: base::WaitableEvent event(true, false); On 2013/03/11 17:31:01, tommycli wrote: ...
7 years, 9 months ago (2013-03-11 18:07:43 UTC) #19
commit-bot: I haz the power
Failed to apply patch for chrome/browser/storage_monitor/storage_monitor_mac.mm: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-11 22:00:48 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/12544005/65004
7 years, 9 months ago (2013-03-11 22:21:30 UTC) #21
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/12544005/diff/108001/chrome/browser/storage_monitor/media_storage_util_unittest.cc File chrome/browser/storage_monitor/media_storage_util_unittest.cc (right): https://chromiumcodereview.appspot.com/12544005/diff/108001/chrome/browser/storage_monitor/media_storage_util_unittest.cc#newcode161 chrome/browser/storage_monitor/media_storage_util_unittest.cc:161: base::WaitableEvent event(true, false); On 2013/03/11 17:31:01, tommycli wrote: > ...
7 years, 9 months ago (2013-03-11 22:27:02 UTC) #22
commit-bot: I haz the power
7 years, 9 months ago (2013-03-12 01:05:23 UTC) #23
Message was sent while issue was closed.
Change committed as 187438

Powered by Google App Engine
This is Rietveld 408576698