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

Issue 10332190: Add SystemMonitor::GetMediaDevices() (Closed)

Created:
8 years, 7 months ago by Lei Zhang
Modified:
8 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add SystemMonitor::GetAttachedMediaDevices(). BUG=none TEST=included Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138148

Patch Set 1 : #

Patch Set 2 : fix mac #

Patch Set 3 : fix win #

Total comments: 5

Patch Set 4 : do this in base instead #

Total comments: 6

Patch Set 5 : address comments #

Patch Set 6 : update comment #

Total comments: 5

Patch Set 7 : rebase, resolve merge conflict #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -1 line) Patch
M base/system_monitor/system_monitor.h View 1 2 3 4 5 6 7 5 chunks +11 lines, -0 lines 0 comments Download
M base/system_monitor/system_monitor.cc View 1 2 3 4 5 6 7 2 chunks +17 lines, -0 lines 0 comments Download
M base/system_monitor/system_monitor_unittest.cc View 1 2 3 4 5 6 7 2 chunks +72 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Lei Zhang
8 years, 7 months ago (2012-05-16 07:37:54 UTC) #1
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/10332190/diff/5006/chrome/browser/chrome_browser_main_linux.h File chrome/browser/chrome_browser_main_linux.h (left): https://chromiumcodereview.appspot.com/10332190/diff/5006/chrome/browser/chrome_browser_main_linux.h#oldcode29 chrome/browser/chrome_browser_main_linux.h:29: scoped_refptr<chrome::MediaDeviceNotificationsLinux> Why move the notifiers into the consumer class? ...
8 years, 7 months ago (2012-05-17 21:17:08 UTC) #2
Lei Zhang
Ok, let's just do it in SystemMonitor instead.
8 years, 7 months ago (2012-05-17 23:41:58 UTC) #3
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/10332190/diff/16002/base/system_monitor/system_monitor.h File base/system_monitor/system_monitor.h (right): https://chromiumcodereview.appspot.com/10332190/diff/16002/base/system_monitor/system_monitor.h#newcode54 base/system_monitor/system_monitor.h:54: typedef std::pair<std::string, FilePath> MediaDeviceInfo; Seems that this should now ...
8 years, 7 months ago (2012-05-17 23:49:16 UTC) #4
Lei Zhang
https://chromiumcodereview.appspot.com/10332190/diff/16002/base/system_monitor/system_monitor.h File base/system_monitor/system_monitor.h (right): https://chromiumcodereview.appspot.com/10332190/diff/16002/base/system_monitor/system_monitor.h#newcode54 base/system_monitor/system_monitor.h:54: typedef std::pair<std::string, FilePath> MediaDeviceInfo; On 2012/05/17 23:49:17, vandebo wrote: ...
8 years, 7 months ago (2012-05-18 00:07:27 UTC) #5
vandebo (ex-Chrome)
LGTM
8 years, 7 months ago (2012-05-18 00:09:29 UTC) #6
Lei Zhang
willchan: base OWNERS review please.
8 years, 7 months ago (2012-05-18 00:14:38 UTC) #7
willchan no longer on Chromium
I think we're almost to the level of code duplication in the test setup that ...
8 years, 7 months ago (2012-05-21 05:32:36 UTC) #8
Lei Zhang
willchan: Please see patch set 8. I'd be happy to create a test fixture in ...
8 years, 7 months ago (2012-05-21 19:42:06 UTC) #9
willchan no longer on Chromium
lgtm http://codereview.chromium.org/10332190/diff/18002/base/system_monitor/system_monitor.h File base/system_monitor/system_monitor.h (right): http://codereview.chromium.org/10332190/diff/18002/base/system_monitor/system_monitor.h#newcode153 base/system_monitor/system_monitor.h:153: // Appends info for attached media devices to ...
8 years, 7 months ago (2012-05-21 20:24:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thestig@chromium.org/10332190/24001
8 years, 7 months ago (2012-05-21 20:28:00 UTC) #11
commit-bot: I haz the power
8 years, 7 months ago (2012-05-21 21:11:21 UTC) #12
Try job failure for 10332190-24001 (retry) on win for step "update" (clobber
build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win&number...

Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698