| Index: remoting/protocol/negotiating_authenticator_unittest.cc
|
| diff --git a/remoting/protocol/negotiating_authenticator_unittest.cc b/remoting/protocol/negotiating_authenticator_unittest.cc
|
| index 8a18f2dedbfb5cbcfe41218ebe7e9b9b86b64492..fb7ed3445871fa1f215acf9810aaf3c54c4c905a 100644
|
| --- a/remoting/protocol/negotiating_authenticator_unittest.cc
|
| +++ b/remoting/protocol/negotiating_authenticator_unittest.cc
|
| @@ -31,6 +31,7 @@ const int kMessages = 1;
|
|
|
| const char kNoClientId[] = "";
|
| const char kNoPairedSecret[] = "";
|
| +const char kTestClientName[] = "client-name";
|
| const char kTestClientId[] = "client-id";
|
| const char kTestHostId[] = "12345678910123456";
|
|
|
| @@ -85,10 +86,10 @@ class NegotiatingAuthenticatorTest : public AuthenticatorTestBase {
|
| void CreatePairingRegistry(bool with_paired_client) {
|
| mock_delegate_ = new MockPairingRegistryDelegate;
|
| if (with_paired_client) {
|
| - PairingRegistry::Pairing pairing;
|
| - pairing.client_id = kTestClientId;
|
| - pairing.shared_secret = kTestPairedSecret;
|
| - mock_delegate_->AddPairing(pairing);
|
| + PairingRegistry::Pairing pairing(
|
| + base::Time(), kTestClientName, kTestClientId, kTestPairedSecret);
|
| + mock_delegate_->AddPairing(pairing,
|
| + PairingRegistry::AddPairingCallback());
|
| }
|
| pairing_registry_ = new PairingRegistry(
|
| scoped_ptr<PairingRegistry::Delegate>(mock_delegate_));
|
|
|