| Index: remoting/protocol/negotiating_authenticator_unittest.cc
|
| diff --git a/remoting/protocol/negotiating_authenticator_unittest.cc b/remoting/protocol/negotiating_authenticator_unittest.cc
|
| index fb7ed3445871fa1f215acf9810aaf3c54c4c905a..b746432eb6a0c6b065af44535fcfa61e2e2445b1 100644
|
| --- a/remoting/protocol/negotiating_authenticator_unittest.cc
|
| +++ b/remoting/protocol/negotiating_authenticator_unittest.cc
|
| @@ -85,14 +85,14 @@ class NegotiatingAuthenticatorTest : public AuthenticatorTestBase {
|
|
|
| void CreatePairingRegistry(bool with_paired_client) {
|
| mock_delegate_ = new MockPairingRegistryDelegate;
|
| + pairing_registry_ = new PairingRegistry(
|
| + scoped_ptr<PairingRegistry::Delegate>(mock_delegate_));
|
| if (with_paired_client) {
|
| PairingRegistry::Pairing pairing(
|
| base::Time(), kTestClientName, kTestClientId, kTestPairedSecret);
|
| - mock_delegate_->AddPairing(pairing,
|
| - PairingRegistry::AddPairingCallback());
|
| + pairing_registry_->AddPairing(pairing);
|
| + mock_delegate_->RunCallback();
|
| }
|
| - pairing_registry_ = new PairingRegistry(
|
| - scoped_ptr<PairingRegistry::Delegate>(mock_delegate_));
|
| }
|
|
|
| static void FetchSecret(
|
|
|