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

Issue 10836004: add device type as an argument in OnDevicesChanged. (Closed)

Created:
8 years, 4 months ago by wjia(left Chromium)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, erikwright (departed), brettw-cc_chromium.org, scottmg
Visibility:
Public.

Description

add device type as an argument in OnDevicesChanged. This allows DevicesChangedObserver to listen to desired events, instead of being woken up by change of uninterested devices. BUG=137799 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149103

Patch Set 1 #

Patch Set 2 : change DeviceType prefix to DEVTYPE #

Patch Set 3 : change DeviceType prefix to DEVTYPE #

Total comments: 3

Patch Set 4 : fix indent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -17 lines) Patch
M base/system_monitor/system_monitor.h View 1 4 chunks +10 lines, -3 lines 0 comments Download
M base/system_monitor/system_monitor.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M base/system_monitor/system_monitor_unittest.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download
M base/test/mock_devices_changed_observer.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/gamepad/gamepad_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gamepad/gamepad_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/system_message_window_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/system_message_window_win_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
wjia(left Chromium)
8 years, 4 months ago (2012-07-29 06:23:42 UTC) #1
tommi (sloooow) - chröme
looks good in general but I would like to just use the existing enum. See ...
8 years, 4 months ago (2012-07-30 10:02:28 UTC) #2
tommi (sloooow) - chröme
Actually, I've looked closer into the media gallery code and have now changed my mind. ...
8 years, 4 months ago (2012-07-30 12:54:54 UTC) #3
wjia(left Chromium)
add owners for stamp: sky@ for content/browser brettw@ for base/
8 years, 4 months ago (2012-07-30 16:52:15 UTC) #4
Lei Zhang
On 2012/07/30 12:54:54, tommi wrote: > Actually, I've looked closer into the media gallery code ...
8 years, 4 months ago (2012-07-30 18:57:51 UTC) #5
Lei Zhang
+scottmg FYI
8 years, 4 months ago (2012-07-30 18:59:49 UTC) #6
tommi (sloooow) - chröme
On 2012/07/30 18:57:51, Lei Zhang wrote: > > tommi: We had the media gallery code ...
8 years, 4 months ago (2012-07-30 19:29:13 UTC) #7
Lei Zhang
On 2012/07/30 19:29:13, tommi wrote: > On 2012/07/30 18:57:51, Lei Zhang wrote: > > > ...
8 years, 4 months ago (2012-07-30 22:13:39 UTC) #8
jar (doing other things)
I was asked for a rubber stamp... but it appears that this is still under ...
8 years, 4 months ago (2012-07-30 23:18:12 UTC) #9
Lei Zhang
On 2012/07/30 23:18:12, jar wrote: > I was asked for a rubber stamp... but it ...
8 years, 4 months ago (2012-07-30 23:24:37 UTC) #10
wjia(left Chromium)
nit fixed. http://codereview.chromium.org/10836004/diff/12002/base/system_monitor/system_monitor.cc File base/system_monitor/system_monitor.cc (right): http://codereview.chromium.org/10836004/diff/12002/base/system_monitor/system_monitor.cc#newcode142 base/system_monitor/system_monitor.cc:142: &DevicesChangedObserver::OnDevicesChanged, device_type); On 2012/07/30 23:18:13, jar wrote: ...
8 years, 4 months ago (2012-07-30 23:32:36 UTC) #11
jar (doing other things)
Rubber stamp LGTM for base.
8 years, 4 months ago (2012-07-30 23:34:59 UTC) #12
jam
8 years, 4 months ago (2012-07-31 01:15:40 UTC) #13
lgtm

Powered by Google App Engine
This is Rietveld 408576698