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

Issue 10829384: SystemMonitor: Pull device type into the device id (Closed)

Created:
8 years, 4 months ago by vandebo (ex-Chrome)
Modified:
8 years, 4 months ago
CC:
chromium-reviews, gbillock+watch_chromium.org, smckay+watch_chromium.org, erikwright+watch_chromium.org, groby+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

SystemMonitor: Pull device type into the device id Add a utility class to create an split device ids as well as to get some information about devices. BUG=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152496

Patch Set 1 #

Total comments: 77

Patch Set 2 : Address comments #

Patch Set 3 : Fix tests #

Patch Set 4 : typo #

Total comments: 17

Patch Set 5 : Rebase #

Patch Set 6 : Address comments #

Total comments: 2

Patch Set 7 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+503 lines, -215 lines) Patch
M base/system_monitor/system_monitor.h View 5 chunks +0 lines, -13 lines 0 comments Download
M base/system_monitor/system_monitor.cc View 3 chunks +3 lines, -7 lines 0 comments Download
M base/system_monitor/system_monitor_unittest.cc View 6 chunks +0 lines, -8 lines 0 comments Download
M base/test/mock_devices_changed_observer.h View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/intents/device_attached_intent_source.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/intents/device_attached_intent_source.cc View 1 2 3 4 5 5 chunks +18 lines, -14 lines 0 comments Download
M chrome/browser/media_gallery/media_device_notifications_chromeos.cc View 1 2 3 3 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/media_gallery/media_device_notifications_chromeos_unittest.cc View 1 2 3 4 5 7 chunks +26 lines, -22 lines 0 comments Download
M chrome/browser/media_gallery/media_device_notifications_linux.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/media_gallery/media_device_notifications_linux.cc View 1 5 chunks +56 lines, -53 lines 0 comments Download
M chrome/browser/media_gallery/media_device_notifications_linux_unittest.cc View 1 2 13 chunks +30 lines, -27 lines 0 comments Download
M chrome/browser/media_gallery/media_device_notifications_window_win.cc View 1 4 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc View 1 5 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.h View 1 chunk +2 lines, -7 lines 0 comments Download
M chrome/browser/media_gallery/media_file_system_registry.cc View 1 2 3 4 5 7 chunks +13 lines, -37 lines 0 comments Download
A chrome/browser/media_gallery/media_storage_util.h View 1 2 3 4 5 1 chunk +83 lines, -0 lines 0 comments Download
A chrome/browser/media_gallery/media_storage_util.cc View 1 2 3 4 5 1 chunk +232 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
vandebo (ex-Chrome)
8 years, 4 months ago (2012-08-17 17:29:22 UTC) #1
kmadhusu
https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode111 chrome/browser/intents/device_attached_intent_source.cc:111: chrome::MediaStorageUtil::Type type; nit: using chrome::MediaStorageUtil; https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode112 chrome/browser/intents/device_attached_intent_source.cc:112: chrome::MediaStorageUtil::CrackDeviceId(id, &type, ...
8 years, 4 months ago (2012-08-17 18:53:34 UTC) #2
groby-ooo-7-16
drive-by for the intents part... https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode112 chrome/browser/intents/device_attached_intent_source.cc:112: chrome::MediaStorageUtil::CrackDeviceId(id, &type, NULL); If ...
8 years, 4 months ago (2012-08-17 21:01:30 UTC) #3
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode111 chrome/browser/intents/device_attached_intent_source.cc:111: chrome::MediaStorageUtil::Type type; On 2012/08/17 18:53:35, kmadhusu wrote: > nit: ...
8 years, 4 months ago (2012-08-17 22:55:51 UTC) #4
kmadhusu
https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode111 chrome/browser/intents/device_attached_intent_source.cc:111: chrome::MediaStorageUtil::Type type; On 2012/08/17 22:55:51, vandebo wrote: > On ...
8 years, 4 months ago (2012-08-20 17:13:49 UTC) #5
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc File chrome/browser/intents/device_attached_intent_source.cc (right): https://chromiumcodereview.appspot.com/10829384/diff/1/chrome/browser/intents/device_attached_intent_source.cc#newcode111 chrome/browser/intents/device_attached_intent_source.cc:111: chrome::MediaStorageUtil::Type type; On 2012/08/20 17:13:49, kmadhusu wrote: > On ...
8 years, 4 months ago (2012-08-20 18:35:14 UTC) #6
vandebo (ex-Chrome)
+groby: Owners signoff for intents +willchan: Owners signoff for base +sky: Owners signoff for chrome ...
8 years, 4 months ago (2012-08-20 20:59:48 UTC) #7
kmadhusu
lgtm https://chromiumcodereview.appspot.com/10829384/diff/12006/chrome/browser/media_gallery/media_device_notifications_linux.h File chrome/browser/media_gallery/media_device_notifications_linux.h (right): https://chromiumcodereview.appspot.com/10829384/diff/12006/chrome/browser/media_gallery/media_device_notifications_linux.h#newcode29 chrome/browser/media_gallery/media_device_notifications_linux.h:29: // returns true and fills in |device_name| and ...
8 years, 4 months ago (2012-08-20 21:02:20 UTC) #8
sky
LGTM
8 years, 4 months ago (2012-08-20 21:09:25 UTC) #9
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/10829384/diff/12006/chrome/browser/media_gallery/media_device_notifications_linux.h File chrome/browser/media_gallery/media_device_notifications_linux.h (right): https://chromiumcodereview.appspot.com/10829384/diff/12006/chrome/browser/media_gallery/media_device_notifications_linux.h#newcode29 chrome/browser/media_gallery/media_device_notifications_linux.h:29: // returns true and fills in |device_name| and |unique_id|. ...
8 years, 4 months ago (2012-08-20 21:24:47 UTC) #10
willchan no longer on Chromium
lgtm
8 years, 4 months ago (2012-08-21 00:15:27 UTC) #11
groby-ooo-7-16
lgtm
8 years, 4 months ago (2012-08-21 00:27:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vandebo@chromium.org/10829384/4027
8 years, 4 months ago (2012-08-21 00:29:42 UTC) #13
commit-bot: I haz the power
8 years, 4 months ago (2012-08-21 02:53:52 UTC) #14
Change committed as 152496

Powered by Google App Engine
This is Rietveld 408576698