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

Issue 10908277: [Chrome OS] Construct device label and unique id using vendor and product details. (Closed)

Created:
8 years, 3 months ago by kmadhusu
Modified:
8 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

[Chrome OS] Construct device label and unique id using vendor and product details. If the device uuid is unavailable, construct the unique id using vendor id and product id values. If the device label is unavailable, construct the name using vendor and product names. BUG=none TEST=none TBR=satorux@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=157089

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : Fix unit tests #

Patch Set 4 : Fixed unittest #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : Fixed nit and updated comments in mock_disk_mount_manager.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -22 lines) Patch
M chrome/browser/system_monitor/removable_device_notifications_chromeos.cc View 1 2 3 4 5 3 chunks +47 lines, -7 lines 0 comments Download
M chrome/browser/system_monitor/removable_device_notifications_chromeos_unittest.cc View 1 2 3 7 chunks +14 lines, -10 lines 0 comments Download
M chromeos/disks/mock_disk_mount_manager.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M chromeos/disks/mock_disk_mount_manager.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
kmadhusu
8 years, 3 months ago (2012-09-16 19:22:46 UTC) #1
vandebo (ex-Chrome)
LGTM http://codereview.chromium.org/10908277/diff/5002/chrome/browser/system_monitor/removable_device_notifications_chromeos.cc File chrome/browser/system_monitor/removable_device_notifications_chromeos.cc (right): http://codereview.chromium.org/10908277/diff/5002/chrome/browser/system_monitor/removable_device_notifications_chromeos.cc#newcode28 chrome/browser/system_monitor/removable_device_notifications_chromeos.cc:28: std::string device_label = disk.device_label(); nit: device_label -> device_name ...
8 years, 3 months ago (2012-09-16 19:38:45 UTC) #2
kmadhusu
https://codereview.chromium.org/10908277/diff/5002/chrome/browser/system_monitor/removable_device_notifications_chromeos.cc File chrome/browser/system_monitor/removable_device_notifications_chromeos.cc (right): https://codereview.chromium.org/10908277/diff/5002/chrome/browser/system_monitor/removable_device_notifications_chromeos.cc#newcode28 chrome/browser/system_monitor/removable_device_notifications_chromeos.cc:28: std::string device_label = disk.device_label(); On 2012/09/16 19:38:45, vandebo wrote: ...
8 years, 3 months ago (2012-09-16 20:08:59 UTC) #3
kmadhusu
TBR'ing satorux@ to do the owner's check for chromeos files. Since the changes are trivial, ...
8 years, 3 months ago (2012-09-16 20:11:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/10908277/11001
8 years, 3 months ago (2012-09-16 20:12:21 UTC) #5
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-16 22:48:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/10908277/11001
8 years, 3 months ago (2012-09-16 23:16:50 UTC) #7
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build. Your ...
8 years, 3 months ago (2012-09-17 00:10:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kmadhusu@chromium.org/10908277/11001
8 years, 3 months ago (2012-09-17 06:03:45 UTC) #9
commit-bot: I haz the power
8 years, 3 months ago (2012-09-17 07:41:45 UTC) #10
Change committed as 157089

Powered by Google App Engine
This is Rietveld 408576698