Index: remoting/client/chromoting_client.h |
diff --git a/remoting/client/chromoting_client.h b/remoting/client/chromoting_client.h |
index b052c9a0b6155751ecb038e1f959602bb82141c6..e164d7c9241fefce5224ef97a05a9459a4272f78 100644 |
--- a/remoting/client/chromoting_client.h |
+++ b/remoting/client/chromoting_client.h |
@@ -25,6 +25,7 @@ class SingleThreadTaskRunner; |
namespace remoting { |
namespace protocol { |
+class CandidateSessionConfig; |
class TransportFactory; |
} // namespace protocol |
@@ -48,6 +49,9 @@ class ChromotingClient : public protocol::ConnectionToHost::HostEventCallback, |
virtual ~ChromotingClient(); |
+ void SetProtocolConfigForTests( |
+ scoped_ptr<protocol::CandidateSessionConfig> config); |
+ |
// Start the client. Must be called on the main thread. |signal_strategy| |
// must outlive the client. |
void Start(SignalStrategy* signal_strategy, |