| Index: remoting/protocol/protocol_mock_objects.h
|
| diff --git a/remoting/protocol/protocol_mock_objects.h b/remoting/protocol/protocol_mock_objects.h
|
| index a39d619b3ff3915e5d3fbf886d6d9e622645985f..391eb4dcc023a22387d6b1b483b5cf1112e954fd 100644
|
| --- a/remoting/protocol/protocol_mock_objects.h
|
| +++ b/remoting/protocol/protocol_mock_objects.h
|
| @@ -30,6 +30,7 @@
|
| #include "remoting/protocol/session_manager.h"
|
| #include "remoting/protocol/transport.h"
|
| #include "remoting/protocol/video_stub.h"
|
| +#include "remoting/signaling/signaling_address.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
|
|
|
| @@ -206,15 +207,15 @@ class MockSessionManager : public SessionManager {
|
| void set_protocol_config(
|
| std::unique_ptr<CandidateSessionConfig> config) override {}
|
| MOCK_METHOD2(ConnectPtr,
|
| - Session*(const std::string& host_jid,
|
| + Session*(const SignalingAddress& peer_address,
|
| Authenticator* authenticator));
|
| MOCK_METHOD0(Close, void());
|
| MOCK_METHOD1(set_authenticator_factory_ptr,
|
| void(AuthenticatorFactory* factory));
|
| std::unique_ptr<Session> Connect(
|
| - const std::string& host_jid,
|
| + const SignalingAddress& peer_address,
|
| std::unique_ptr<Authenticator> authenticator) override {
|
| - return base::WrapUnique(ConnectPtr(host_jid, authenticator.get()));
|
| + return base::WrapUnique(ConnectPtr(peer_address, authenticator.get()));
|
| }
|
| void set_authenticator_factory(
|
| std::unique_ptr<AuthenticatorFactory> authenticator_factory) override {
|
|
|