Index: remoting/protocol/protocol_mock_objects.h |
diff --git a/remoting/protocol/protocol_mock_objects.h b/remoting/protocol/protocol_mock_objects.h |
index 7262ae595af689334b51f4d4fd8768184e9ff4db..0f1e24d85ce1d9faa2f202df68e689730864eaa0 100644 |
--- a/remoting/protocol/protocol_mock_objects.h |
+++ b/remoting/protocol/protocol_mock_objects.h |
@@ -187,18 +187,19 @@ class MockSessionManager : public SessionManager { |
Authenticator* authenticator, |
CandidateSessionConfig* config)); |
MOCK_METHOD0(Close, void()); |
- MOCK_METHOD1(set_authenticator_factory_ptr, void(AuthenticatorFactory*)); |
+ MOCK_METHOD1(set_authenticator_factory_ptr, |
+ void(AuthenticatorFactory* factory)); |
virtual scoped_ptr<Session> Connect( |
const std::string& host_jid, |
scoped_ptr<Authenticator> authenticator, |
scoped_ptr<CandidateSessionConfig> config) { |
return scoped_ptr<Session>(ConnectPtr( |
host_jid, authenticator.get(), config.get())); |
- }; |
+ } |
virtual void set_authenticator_factory( |
scoped_ptr<AuthenticatorFactory> authenticator_factory) { |
set_authenticator_factory_ptr(authenticator_factory.release()); |
- }; |
+ } |
private: |
DISALLOW_COPY_AND_ASSIGN(MockSessionManager); |
@@ -216,7 +217,8 @@ class MockPairingRegistryDelegate : public PairingRegistry::Delegate { |
// PairingRegistry::Delegate implementation. |
virtual void AddPairing( |
- const PairingRegistry::Pairing& new_paired_client) OVERRIDE; |
+ const PairingRegistry::Pairing& new_paired_client, |
+ const PairingRegistry::AddPairingCallback& callback) OVERRIDE; |
virtual void GetPairing( |
const std::string& client_id, |
const PairingRegistry::GetPairingCallback& callback) OVERRIDE; |