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

Issue 231063002: Add notification for media changed, and notify volume mount watcher when it occurs. (Closed)

Created:
6 years, 8 months ago by Kevin Bailey
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add notification for media changed, and notify volume mount watcher when it occurs. BUG=154632 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266914

Patch Set 1 #

Patch Set 2 : Linting. #

Total comments: 15

Patch Set 3 : Code review #

Patch Set 4 : Simplified a function #

Total comments: 18

Patch Set 5 : Move method #

Patch Set 6 : Other code review #

Total comments: 7

Patch Set 7 : Name and constant change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -0 lines) Patch
M components/storage_monitor/storage_monitor_win.h View 1 2 3 4 5 6 3 chunks +6 lines, -0 lines 0 comments Download
M components/storage_monitor/storage_monitor_win.cc View 1 2 3 4 5 6 8 chunks +31 lines, -0 lines 0 comments Download
M components/storage_monitor/volume_mount_watcher_win.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M components/storage_monitor/volume_mount_watcher_win.cc View 1 2 3 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
vandebo (ex-Chrome)
Sorry for the delay https://codereview.chromium.org/231063002/diff/20001/components/storage_monitor/storage_monitor_win.cc File components/storage_monitor/storage_monitor_win.cc (right): https://codereview.chromium.org/231063002/diff/20001/components/storage_monitor/storage_monitor_win.cc#newcode47 components/storage_monitor/storage_monitor_win.cc:47: #define WM_USER_MEDIACHANGED (WM_USER+1) Put this ...
6 years, 8 months ago (2014-04-11 22:24:25 UTC) #1
Kevin Bailey
Sorry for the late reply. Was on vacation and cleaning inbox. Responded to everything. I'll ...
6 years, 8 months ago (2014-04-22 15:43:03 UTC) #2
vandebo (ex-Chrome)
+rvargas for any Windows gotchas https://codereview.chromium.org/231063002/diff/20001/components/storage_monitor/storage_monitor_win.cc File components/storage_monitor/storage_monitor_win.cc (right): https://codereview.chromium.org/231063002/diff/20001/components/storage_monitor/storage_monitor_win.cc#newcode49 components/storage_monitor/storage_monitor_win.cc:49: void StorageMonitorWin::ChangeNotifyRegister() { On ...
6 years, 8 months ago (2014-04-22 18:07:41 UTC) #3
Kevin Bailey
win_rel try bot succeeded. https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc File components/storage_monitor/storage_monitor_win.cc (right): https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc#newcode49 components/storage_monitor/storage_monitor_win.cc:49: void StorageMonitorWin::MediaChangeNotificationRegister() { On 2014/04/22 ...
6 years, 8 months ago (2014-04-22 20:09:31 UTC) #4
rvargas (doing something else)
https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc File components/storage_monitor/storage_monitor_win.cc (right): https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc#newcode18 components/storage_monitor/storage_monitor_win.cc:18: #define WM_USER_MEDIACHANGED (WM_USER+1) This is numerically the same as ...
6 years, 8 months ago (2014-04-22 21:09:43 UTC) #5
Kevin Bailey
Most addressed, one q. https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc File components/storage_monitor/storage_monitor_win.cc (right): https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc#newcode18 components/storage_monitor/storage_monitor_win.cc:18: #define WM_USER_MEDIACHANGED (WM_USER+1) On 2014/04/22 ...
6 years, 8 months ago (2014-04-23 16:02:23 UTC) #6
vandebo (ex-Chrome)
https://codereview.chromium.org/231063002/diff/90001/components/storage_monitor/storage_monitor_win.h File components/storage_monitor/storage_monitor_win.h (right): https://codereview.chromium.org/231063002/diff/90001/components/storage_monitor/storage_monitor_win.h#newcode77 components/storage_monitor/storage_monitor_win.h:77: ULONG registration_handle_; This could have a more descriptive name
6 years, 8 months ago (2014-04-23 16:34:35 UTC) #7
Kevin Bailey
https://codereview.chromium.org/231063002/diff/90001/components/storage_monitor/storage_monitor_win.h File components/storage_monitor/storage_monitor_win.h (right): https://codereview.chromium.org/231063002/diff/90001/components/storage_monitor/storage_monitor_win.h#newcode77 components/storage_monitor/storage_monitor_win.h:77: ULONG registration_handle_; On 2014/04/23 16:34:35, vandebo wrote: > This ...
6 years, 8 months ago (2014-04-23 18:06:14 UTC) #8
vandebo (ex-Chrome)
https://codereview.chromium.org/231063002/diff/90001/components/storage_monitor/storage_monitor_win.h File components/storage_monitor/storage_monitor_win.h (right): https://codereview.chromium.org/231063002/diff/90001/components/storage_monitor/storage_monitor_win.h#newcode77 components/storage_monitor/storage_monitor_win.h:77: ULONG registration_handle_; On 2014/04/23 18:06:14, Kevin Bailey wrote: > ...
6 years, 8 months ago (2014-04-23 18:09:27 UTC) #9
rvargas (doing something else)
https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc File components/storage_monitor/storage_monitor_win.cc (right): https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc#newcode18 components/storage_monitor/storage_monitor_win.cc:18: #define WM_USER_MEDIACHANGED (WM_USER+1) On 2014/04/23 16:02:23, Kevin Bailey wrote: ...
6 years, 8 months ago (2014-04-23 18:45:14 UTC) #10
Kevin Bailey
Should all be addressed. https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc File components/storage_monitor/storage_monitor_win.cc (right): https://codereview.chromium.org/231063002/diff/60001/components/storage_monitor/storage_monitor_win.cc#newcode18 components/storage_monitor/storage_monitor_win.cc:18: #define WM_USER_MEDIACHANGED (WM_USER+1) Agreed, but ...
6 years, 8 months ago (2014-04-24 15:12:37 UTC) #11
vandebo (ex-Chrome)
LGTM
6 years, 8 months ago (2014-04-24 15:20:44 UTC) #12
rvargas (doing something else)
lgtm
6 years, 8 months ago (2014-04-24 18:52:43 UTC) #13
Kevin Bailey
The CQ bit was checked by krb@chromium.org
6 years, 8 months ago (2014-04-25 21:13:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/krb@chromium.org/231063002/110001
6 years, 8 months ago (2014-04-25 22:01:35 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-26 08:29:21 UTC) #16
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test on builder ...
6 years, 8 months ago (2014-04-26 08:29:21 UTC) #17
vandebo (ex-Chrome)
The CQ bit was checked by vandebo@chromium.org
6 years, 7 months ago (2014-04-28 16:19:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/krb@chromium.org/231063002/110001
6 years, 7 months ago (2014-04-28 16:19:45 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 16:39:13 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_dbg_triggered_tests
6 years, 7 months ago (2014-04-28 16:39:14 UTC) #21
vandebo (ex-Chrome)
The CQ bit was checked by vandebo@chromium.org
6 years, 7 months ago (2014-04-28 16:42:30 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/krb@chromium.org/231063002/110001
6 years, 7 months ago (2014-04-28 16:42:54 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 16:43:39 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_dbg_triggered_tests
6 years, 7 months ago (2014-04-28 16:43:40 UTC) #25
Kevin Bailey
The CQ bit was checked by krb@chromium.org
6 years, 7 months ago (2014-04-29 17:40:08 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/krb@chromium.org/231063002/110001
6 years, 7 months ago (2014-04-29 17:41:08 UTC) #27
commit-bot: I haz the power
6 years, 7 months ago (2014-04-29 17:43:01 UTC) #28
Message was sent while issue was closed.
Change committed as 266914

Powered by Google App Engine
This is Rietveld 408576698