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

Issue 491943004: Update the pairing API to include configuration and enrollment. (Closed)

Created:
6 years, 4 months ago by Zachary Kuznia
Modified:
6 years, 3 months ago
Project:
chromium
Visibility:
Public.

Description

Update the pairing API to include configuration and enrollment. BUG=405744 Committed: https://crrev.com/5e61edc42e69df36b816687ece1c831dfdf427dc Cr-Commit-Position: refs/heads/master@{#292309}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Move add/remove observer #

Patch Set 3 : Update controllers and screens to use new interface. #

Patch Set 4 : Comment some TODOs #

Total comments: 10

Patch Set 5 : Code review fixes #

Total comments: 1

Patch Set 6 : Fix compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -100 lines) Patch
M chrome/browser/chromeos/login/screens/controller_pairing_screen.cc View 1 2 3 4 2 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/login/screens/host_pairing_screen.h View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/login/screens/host_pairing_screen.cc View 1 2 3 1 chunk +12 lines, -3 lines 0 comments Download
M components/pairing/bluetooth_controller_pairing_controller.h View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M components/pairing/bluetooth_controller_pairing_controller.cc View 1 2 3 4 3 chunks +32 lines, -39 lines 0 comments Download
M components/pairing/bluetooth_host_pairing_controller.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/pairing/bluetooth_host_pairing_controller.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/pairing/controller_pairing_controller.h View 1 2 3 4 3 chunks +14 lines, -6 lines 0 comments Download
M components/pairing/fake_controller_pairing_controller.h View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M components/pairing/fake_controller_pairing_controller.cc View 1 2 1 chunk +10 lines, -2 lines 0 comments Download
M components/pairing/fake_host_pairing_controller.h View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M components/pairing/fake_host_pairing_controller.cc View 1 2 3 4 5 5 chunks +14 lines, -21 lines 0 comments Download
M components/pairing/host_pairing_controller.h View 1 5 chunks +22 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Zachary Kuznia
Please take a look. I'll update the Fake implementation to stub out these methods before ...
6 years, 4 months ago (2014-08-20 23:20:44 UTC) #1
achuithb
https://codereview.chromium.org/491943004/diff/1/components/pairing/controller_pairing_controller.h File components/pairing/controller_pairing_controller.h (right): https://codereview.chromium.org/491943004/diff/1/components/pairing/controller_pairing_controller.h#newcode63 components/pairing/controller_pairing_controller.h:63: virtual void AddObserver(Observer* observer) = 0; Same comment about ...
6 years, 4 months ago (2014-08-20 23:28:13 UTC) #2
Zachary Kuznia
https://codereview.chromium.org/491943004/diff/1/components/pairing/controller_pairing_controller.h File components/pairing/controller_pairing_controller.h (right): https://codereview.chromium.org/491943004/diff/1/components/pairing/controller_pairing_controller.h#newcode63 components/pairing/controller_pairing_controller.h:63: virtual void AddObserver(Observer* observer) = 0; On 2014/08/20 23:28:13, ...
6 years, 4 months ago (2014-08-20 23:34:23 UTC) #3
dzhioev (left Google)
On 2014/08/20 23:20:44, Zachary Kuznia wrote: > Please take a look. > > I'll update ...
6 years, 4 months ago (2014-08-25 17:50:56 UTC) #4
Zachary Kuznia
achuith: Please take a look at the stub implementations. Thanks, -Zach
6 years, 3 months ago (2014-08-27 20:19:46 UTC) #5
achuithb
Should we add some browser tests for this stuff? https://codereview.chromium.org/491943004/diff/60001/chrome/browser/chromeos/login/screens/controller_pairing_screen.cc File chrome/browser/chromeos/login/screens/controller_pairing_screen.cc (right): https://codereview.chromium.org/491943004/diff/60001/chrome/browser/chromeos/login/screens/controller_pairing_screen.cc#newcode203 chrome/browser/chromeos/login/screens/controller_pairing_screen.cc:203: ...
6 years, 3 months ago (2014-08-27 21:41:36 UTC) #6
Zachary Kuznia
Filed a bug for tests: crbug.com/408321 https://codereview.chromium.org/491943004/diff/60001/chrome/browser/chromeos/login/screens/controller_pairing_screen.cc File chrome/browser/chromeos/login/screens/controller_pairing_screen.cc (right): https://codereview.chromium.org/491943004/diff/60001/chrome/browser/chromeos/login/screens/controller_pairing_screen.cc#newcode203 chrome/browser/chromeos/login/screens/controller_pairing_screen.cc:203: std::string account_id = ...
6 years, 3 months ago (2014-08-27 22:01:49 UTC) #7
achuithb
https://codereview.chromium.org/491943004/diff/80001/components/pairing/bluetooth_controller_pairing_controller.cc File components/pairing/bluetooth_controller_pairing_controller.cc (right): https://codereview.chromium.org/491943004/diff/80001/components/pairing/bluetooth_controller_pairing_controller.cc#newcode347 components/pairing/bluetooth_controller_pairing_controller.cc:347: // TODO(zork): Check that the domain matches. (http://crbug.com/405761) What ...
6 years, 3 months ago (2014-08-27 22:04:06 UTC) #8
achuithb
lgtm
6 years, 3 months ago (2014-08-27 22:06:07 UTC) #9
Zachary Kuznia
The CQ bit was checked by zork@chromium.org
6 years, 3 months ago (2014-08-27 22:13:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/491943004/80001
6 years, 3 months ago (2014-08-27 22:14:38 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-27 23:10:16 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 23:24:33 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/8678)
6 years, 3 months ago (2014-08-27 23:24:34 UTC) #14
Zachary Kuznia
The CQ bit was checked by zork@chromium.org
6 years, 3 months ago (2014-08-28 02:23:36 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zork@chromium.org/491943004/90001
6 years, 3 months ago (2014-08-28 02:24:22 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:90001) as ad6cb5302c094ee4be998f2814b26c9c026b243a
6 years, 3 months ago (2014-08-28 03:41:21 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:57:05 UTC) #18
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5e61edc42e69df36b816687ece1c831dfdf427dc
Cr-Commit-Position: refs/heads/master@{#292309}

Powered by Google App Engine
This is Rietveld 408576698