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

Issue 2242943002: Update device name in chooser when device changes name (desktops) (Closed)

Created:
4 years, 4 months ago by juncai
Modified:
4 years, 4 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, ortuno, scheib
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update device name in chooser when device changes name (desktops) This CL modified code to update device name in chooser when device changes its name. Also added test code to cover the changed code. BUG=634366 Committed: https://crrev.com/bb5ba23019e1c6cd772c51c34a35104a3e39dd99 Cr-Commit-Position: refs/heads/master@{#412290}

Patch Set 1 : updated device name in chooser when device changes name #

Total comments: 22

Patch Set 2 : address comments #

Total comments: 6

Patch Set 3 : address more comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -37 lines) Patch
M chrome/browser/chooser_controller/chooser_controller.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chooser_controller/mock_chooser_controller.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/chooser_controller/mock_chooser_controller.cc View 1 2 chunks +22 lines, -10 lines 0 comments Download
M chrome/browser/ui/bluetooth/bluetooth_chooser_controller.h View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc View 1 2 5 chunks +32 lines, -11 lines 0 comments Download
M chrome/browser/ui/cocoa/chooser_content_view_cocoa.mm View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/chooser_dialog_cocoa_controller_unittest.mm View 1 2 4 chunks +71 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view.cc View 1 2 4 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/chooser_content_view_unittest.cc View 1 3 chunks +57 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/chooser_dialog_view_unittest.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_device_chooser_controller.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/public/browser/bluetooth_chooser.h View 1 2 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (18 generated)
juncai
rsesek@chromium.org: Please review changes in //chrome/browser/ui/cocoa/ msw@chromium.org: Please review changes in //chrome/browser/ui/views/ jyasskin@chromium.org: Please review ...
4 years, 4 months ago (2016-08-12 18:29:52 UTC) #4
msw
Some mostly minor nits and qs. https://codereview.chromium.org/2242943002/diff/1/chrome/browser/chooser_controller/chooser_controller.h File chrome/browser/chooser_controller/chooser_controller.h (right): https://codereview.chromium.org/2242943002/diff/1/chrome/browser/chooser_controller/chooser_controller.h#newcode49 chrome/browser/chooser_controller/chooser_controller.h:49: // Called when ...
4 years, 4 months ago (2016-08-12 22:19:34 UTC) #7
juncai
https://codereview.chromium.org/2242943002/diff/1/chrome/browser/chooser_controller/chooser_controller.h File chrome/browser/chooser_controller/chooser_controller.h (right): https://codereview.chromium.org/2242943002/diff/1/chrome/browser/chooser_controller/chooser_controller.h#newcode49 chrome/browser/chooser_controller/chooser_controller.h:49: // Called when |index|th option needs to be updated. ...
4 years, 4 months ago (2016-08-15 18:11:19 UTC) #10
msw
nice! lgtm with a decl comment for |should_update_name|. https://codereview.chromium.org/2242943002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc (right): https://codereview.chromium.org/2242943002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc#newcode199 chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc:199: view()->OnOptionUpdated(index); ...
4 years, 4 months ago (2016-08-15 19:04:58 UTC) #13
Robert Sesek
cocoa LGTM
4 years, 4 months ago (2016-08-15 19:05:29 UTC) #14
Jeffrey Yasskin
Definitely fix the checked_cast comment before committing. device_name_map_ could be a separate CL. LGTM https://codereview.chromium.org/2242943002/diff/20001/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc ...
4 years, 4 months ago (2016-08-15 21:33:53 UTC) #15
juncai
jam@chromium.org: Please review changes in //content/public/browser/bluetooth_chooser.h https://codereview.chromium.org/2242943002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc File chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc (right): https://codereview.chromium.org/2242943002/diff/1/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc#newcode199 chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc:199: view()->OnOptionUpdated(index); On 2016/08/15 ...
4 years, 4 months ago (2016-08-15 23:53:35 UTC) #19
juncai
Noticed that jam@ is OOO, added avi@chromium.org as the reviewer. avi@chromium.org, Please review changes in ...
4 years, 4 months ago (2016-08-16 17:28:10 UTC) #23
Avi (use Gerrit)
content api change lgtm
4 years, 4 months ago (2016-08-16 17:29:59 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2242943002/40001
4 years, 4 months ago (2016-08-16 17:57:10 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-16 18:01:29 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 18:04:49 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bb5ba23019e1c6cd772c51c34a35104a3e39dd99
Cr-Commit-Position: refs/heads/master@{#412290}

Powered by Google App Engine
This is Rietveld 408576698