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

Issue 17063003: Changes to PairingRegistry to facilitate per-platform implementions. (Closed)

Created:
7 years, 6 months ago by Jamie
Modified:
7 years, 6 months ago
Reviewers:
rmsousa
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Changes to PairingRegistry to facilitate per-platform implementions. Implementing the Linux pairing registry delegate required some changes to the cross-platform code. I've isolated them in this CL for clarity: * Added a timestamp to the Pairing struct and made it a class with a Create method to generate the random information and timestamp. * Added a callback to AddPairing. For now, this is only used in the unit test. I also fixed a couple of unrelated linter errors in protocol_mock_objects. BUG=156182 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206947

Patch Set 1 #

Patch Set 2 : Fixed spacing. #

Total comments: 2

Patch Set 3 : Reviewer feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -54 lines) Patch
M remoting/host/client_session.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/protocol/negotiating_authenticator_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M remoting/protocol/pairing_host_authenticator.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/protocol/pairing_registry.h View 1 2 3 chunks +44 lines, -12 lines 0 comments Download
M remoting/protocol/pairing_registry.cc View 1 2 3 chunks +49 lines, -18 lines 0 comments Download
M remoting/protocol/pairing_registry_unittest.cc View 3 chunks +8 lines, -11 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 2 chunks +6 lines, -4 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.cc View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jamie
ptal
7 years, 6 months ago (2013-06-16 22:40:52 UTC) #1
Jamie
Renato: ping
7 years, 6 months ago (2013-06-17 20:59:27 UTC) #2
rmsousa
lgtm https://codereview.chromium.org/17063003/diff/2001/remoting/protocol/pairing_registry.h File remoting/protocol/pairing_registry.h (right): https://codereview.chromium.org/17063003/diff/2001/remoting/protocol/pairing_registry.h#newcode83 remoting/protocol/pairing_registry.h:83: // the client_name is empty. Must not block. ...
7 years, 6 months ago (2013-06-17 23:56:10 UTC) #3
Jamie
fyi https://codereview.chromium.org/17063003/diff/2001/remoting/protocol/pairing_registry.h File remoting/protocol/pairing_registry.h (right): https://codereview.chromium.org/17063003/diff/2001/remoting/protocol/pairing_registry.h#newcode83 remoting/protocol/pairing_registry.h:83: // the client_name is empty. Must not block. ...
7 years, 6 months ago (2013-06-18 00:16:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/17063003/8001
7 years, 6 months ago (2013-06-18 00:16:17 UTC) #5
commit-bot: I haz the power
7 years, 6 months ago (2013-06-18 12:12:07 UTC) #6
Message was sent while issue was closed.
Change committed as 206947

Powered by Google App Engine
This is Rietveld 408576698