Index: remoting/protocol/pepper_session.cc |
diff --git a/remoting/protocol/pepper_session.cc b/remoting/protocol/pepper_session.cc |
index ce56fd51432557c6e1cc472cffbb93f8477bee96..a75835b08a9526b29812e97ae0746bc88e4894eb 100644 |
--- a/remoting/protocol/pepper_session.cc |
+++ b/remoting/protocol/pepper_session.cc |
@@ -14,6 +14,7 @@ |
#include "remoting/protocol/jingle_messages.h" |
#include "remoting/protocol/pepper_session_manager.h" |
#include "remoting/protocol/pepper_stream_channel.h" |
+#include "remoting/protocol/simple_client_channel_authenticator.h" |
#include "third_party/libjingle/source/talk/p2p/base/candidate.h" |
#include "third_party/libjingle/source/talk/xmllite/xmlelement.h" |
@@ -116,7 +117,9 @@ void PepperSession::CreateStreamChannel( |
PepperStreamChannel* channel = new PepperStreamChannel(this, name, callback); |
channels_[name] = channel; |
channel->Connect(session_manager_->pp_instance_, |
- session_manager_->transport_config_, remote_cert_); |
+ session_manager_->transport_config_, |
+ new SimpleClientChannelAuthenticator( |
+ remote_cert_, shared_secret_)); |
} |
void PepperSession::CreateDatagramChannel( |