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

Issue 10911234: Update Windows System Monitor Removable Device Impl. (Closed)

Created:
8 years, 3 months ago by vandebo (ex-Chrome)
Modified:
8 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Update Windows System Monitor Removable Device Impl. Change the notifier to notify about all removable devices, to get more device information and to fetch the already connected removable devices. Implement the Windows specific part of MediaStorageUtil BUG=144496 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=157256

Patch Set 1 #

Patch Set 2 : Checkpoint #

Patch Set 3 : Checkpoint #

Patch Set 4 : Checkpoint #

Patch Set 5 : Checkpoint #

Patch Set 6 : Tests pass #

Patch Set 7 : Connect everything #

Patch Set 8 : Checkpoint #

Patch Set 9 : Fix threading bug #

Patch Set 10 : Rebase #

Total comments: 2

Patch Set 11 : Update test too #

Patch Set 12 : Add missing file #

Patch Set 13 : Fix Win compile #

Total comments: 36

Patch Set 14 : Address comments #

Patch Set 15 : Rebase and extract unrelated changes #

Patch Set 16 : Fix tests #

Patch Set 17 : Rebase onto http://codereview.chromium.org/10909259/ #

Patch Set 18 : Rebase #

Patch Set 19 : Address comments #

Total comments: 2

Patch Set 20 : Address comments #

Total comments: 10

Patch Set 21 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -173 lines) Patch
M chrome/browser/chrome_browser_main_win.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/system_monitor/media_storage_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_window_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +54 lines, -22 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_window_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +254 lines, -108 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_window_win_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +162 lines, -42 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
vandebo (ex-Chrome)
cpu: Please review or suggest a reviewer for the windows changes. thestig: everything else. http://codereview.chromium.org/10911234/diff/10013/chrome/browser/chrome_browser_main_win.cc ...
8 years, 3 months ago (2012-09-14 07:59:21 UTC) #1
cpu_(ooo_6.6-7.5)
please have rvargas review this patch. I will take a look but take my comments ...
8 years, 3 months ago (2012-09-14 20:43:38 UTC) #2
vandebo (ex-Chrome)
Hey Ricardo, can you take a look at the windows code in this CL?
8 years, 3 months ago (2012-09-14 20:45:30 UTC) #3
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/10911234/diff/4036/chrome/browser/system_monitor/removable_device_notifications_window_win.cc File chrome/browser/system_monitor/removable_device_notifications_window_win.cc (right): https://codereview.chromium.org/10911234/diff/4036/chrome/browser/system_monitor/removable_device_notifications_window_win.cc#newcode274 chrome/browser/system_monitor/removable_device_notifications_window_win.cc:274: WNDCLASSEX window_class; this does not work on windows 8 ...
8 years, 3 months ago (2012-09-14 20:49:48 UTC) #4
vandebo (ex-Chrome)
https://codereview.chromium.org/10911234/diff/4036/chrome/browser/system_monitor/removable_device_notifications_window_win.cc File chrome/browser/system_monitor/removable_device_notifications_window_win.cc (right): https://codereview.chromium.org/10911234/diff/4036/chrome/browser/system_monitor/removable_device_notifications_window_win.cc#newcode274 chrome/browser/system_monitor/removable_device_notifications_window_win.cc:274: WNDCLASSEX window_class; On 2012/09/14 20:49:48, cpu wrote: > this ...
8 years, 3 months ago (2012-09-14 21:19:21 UTC) #5
rvargas (doing something else)
http://codereview.chromium.org/10911234/diff/4036/chrome/browser/system_monitor/removable_device_notifications_window_win.cc File chrome/browser/system_monitor/removable_device_notifications_window_win.cc (right): http://codereview.chromium.org/10911234/diff/4036/chrome/browser/system_monitor/removable_device_notifications_window_win.cc#newcode21 chrome/browser/system_monitor/removable_device_notifications_window_win.cc:21: namespace chrome { I don't see any reason for ...
8 years, 3 months ago (2012-09-15 02:33:55 UTC) #6
vandebo (ex-Chrome)
http://codereview.chromium.org/10911234/diff/4036/chrome/browser/system_monitor/removable_device_notifications_window_win.cc File chrome/browser/system_monitor/removable_device_notifications_window_win.cc (right): http://codereview.chromium.org/10911234/diff/4036/chrome/browser/system_monitor/removable_device_notifications_window_win.cc#newcode21 chrome/browser/system_monitor/removable_device_notifications_window_win.cc:21: namespace chrome { On 2012/09/15 02:33:55, rvargas wrote: > ...
8 years, 3 months ago (2012-09-15 19:45:10 UTC) #7
rvargas (doing something else)
Note that you really don't need to create a new window just to get a ...
8 years, 3 months ago (2012-09-17 06:10:11 UTC) #8
cpu_(ooo_6.6-7.5)
I like Ricardo's idea. power broadcasts we already handle so can we augment that window ...
8 years, 3 months ago (2012-09-17 17:45:00 UTC) #9
vandebo (ex-Chrome)
On 2012/09/17 06:10:11, rvargas wrote: > Note that you really don't need to create a ...
8 years, 3 months ago (2012-09-17 18:51:59 UTC) #10
vandebo (ex-Chrome)
On 2012/09/17 17:45:00, cpu wrote: > I like Ricardo's idea. power broadcasts we already handle ...
8 years, 3 months ago (2012-09-17 20:34:41 UTC) #11
rvargas (doing something else)
I don't have more comments. Another background question: why is it important to know if ...
8 years, 3 months ago (2012-09-17 22:26:05 UTC) #12
cpu_(ooo_6.6-7.5)
I don't have new comments either. I am talking to him IRC, I still like ...
8 years, 3 months ago (2012-09-17 22:47:08 UTC) #13
vandebo (ex-Chrome)
On 2012/09/17 22:26:05, rvargas wrote: > I don't have more comments. > > Another background ...
8 years, 3 months ago (2012-09-17 23:09:15 UTC) #14
rvargas (doing something else)
lgtm
8 years, 3 months ago (2012-09-17 23:32:13 UTC) #15
Lei Zhang
https://chromiumcodereview.appspot.com/10911234/diff/11016/chrome/browser/system_monitor/media_storage_util.cc File chrome/browser/system_monitor/media_storage_util.cc (right): https://chromiumcodereview.appspot.com/10911234/diff/11016/chrome/browser/system_monitor/media_storage_util.cc#newcode252 chrome/browser/system_monitor/media_storage_util.cc:252: #if !defined(POSIX) OS_POSIX https://chromiumcodereview.appspot.com/10911234/diff/11016/chrome/browser/system_monitor/removable_device_notifications_window_win.cc File chrome/browser/system_monitor/removable_device_notifications_window_win.cc (right): https://chromiumcodereview.appspot.com/10911234/diff/11016/chrome/browser/system_monitor/removable_device_notifications_window_win.cc#newcode71 chrome/browser/system_monitor/removable_device_notifications_window_win.cc:71: ...
8 years, 3 months ago (2012-09-18 00:06:26 UTC) #16
vandebo (ex-Chrome)
http://codereview.chromium.org/10911234/diff/11016/chrome/browser/system_monitor/media_storage_util.cc File chrome/browser/system_monitor/media_storage_util.cc (right): http://codereview.chromium.org/10911234/diff/11016/chrome/browser/system_monitor/media_storage_util.cc#newcode252 chrome/browser/system_monitor/media_storage_util.cc:252: #if !defined(POSIX) On 2012/09/18 00:06:26, Lei Zhang wrote: > ...
8 years, 3 months ago (2012-09-18 00:16:21 UTC) #17
Lei Zhang
lgtm
8 years, 3 months ago (2012-09-18 00:31:00 UTC) #18
cpu_(ooo_6.6-7.5)
lgtm if you code does not explode on win8 metro mode.
8 years, 3 months ago (2012-09-18 01:03:35 UTC) #19
vandebo (ex-Chrome)
8 years, 3 months ago (2012-09-19 23:13:05 UTC) #20
On 2012/09/18 01:03:35, cpu wrote:
> lgtm if you code does not explode on win8 metro mode.

With the new dev channel that was spun yesterday I was finally able to test this
change under metro mode.  Not only does it not explode, it actually works just
fine.  That's not to say that I'm going to drop any promises I made -
SystemMonitor still needs to be refactored and it makes sense to make a general
mechanism to get window broadcast messages from the main window instead of
creating a hidden one.

Powered by Google App Engine
This is Rietveld 408576698