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

Unified Diff: remoting/protocol/protocol_mock_objects.h

Issue 2798393007: Use SignalingAddress in SignalStrategy insterface. (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4c06673acdc413d6eb1f6c15ac46896c30bd608b 100644
--- a/remoting/protocol/protocol_mock_objects.h
+++ b/remoting/protocol/protocol_mock_objects.h
@@ -206,15 +206,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 {

Powered by Google App Engine
This is Rietveld 408576698