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

Unified Diff: remoting/protocol/pepper_session.cc

Issue 8604001: Move SSL layer initialization into ChannelAuthenticator implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simple->V1 Created 9 years, 1 month 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
« no previous file with comments | « remoting/protocol/pepper_channel.h ('k') | remoting/protocol/pepper_stream_channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/pepper_session.cc
diff --git a/remoting/protocol/pepper_session.cc b/remoting/protocol/pepper_session.cc
index d9bab52050416f6ca06a3a99094b975809747f22..138993be57fb93d4777eee31917731cd47266a51 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/v1_client_channel_authenticator.h"
#include "third_party/libjingle/source/talk/p2p/base/candidate.h"
#include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
@@ -114,7 +115,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 V1ClientChannelAuthenticator(
+ remote_cert_, shared_secret_));
}
void PepperSession::CreateDatagramChannel(
« no previous file with comments | « remoting/protocol/pepper_channel.h ('k') | remoting/protocol/pepper_stream_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698