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

Unified Diff: remoting/protocol/jingle_session_manager.cc

Issue 7616017: Remove key exchange code from JingleSession. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « remoting/protocol/jingle_session_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session_manager.cc
diff --git a/remoting/protocol/jingle_session_manager.cc b/remoting/protocol/jingle_session_manager.cc
index 60defc132a2a6b71c8bd1b0a39f492de76c01177..c4ff55adfec1f79c6e59b17b63635ddd97d3e132 100644
--- a/remoting/protocol/jingle_session_manager.cc
+++ b/remoting/protocol/jingle_session_manager.cc
@@ -176,8 +176,7 @@ Session* JingleSessionManager::Connect(
sessions_.push_back(jingle_session);
cricket_session->Initiate(host_jid, CreateClientSessionDescription(
- jingle_session->candidate_config()->Clone(), receiver_token,
- jingle_session->GetEncryptedMasterKey()));
+ jingle_session->candidate_config()->Clone(), receiver_token));
return jingle_session;
}
@@ -332,12 +331,11 @@ bool JingleSessionManager::WriteContent(
cricket::SessionDescription*
JingleSessionManager::CreateClientSessionDescription(
const CandidateSessionConfig* config,
- const std::string& auth_token,
- const std::string& master_key) {
+ const std::string& auth_token) {
cricket::SessionDescription* desc = new cricket::SessionDescription();
desc->AddContent(
JingleSession::kChromotingContentName, kChromotingXmlNamespace,
- new ContentDescription(config, auth_token, master_key, ""));
+ new ContentDescription(config, auth_token, ""));
return desc;
}
@@ -348,7 +346,7 @@ cricket::SessionDescription* JingleSessionManager::CreateHostSessionDescription(
cricket::SessionDescription* desc = new cricket::SessionDescription();
desc->AddContent(
JingleSession::kChromotingContentName, kChromotingXmlNamespace,
- new ContentDescription(config, "", "", certificate));
+ new ContentDescription(config, "", certificate));
return desc;
}
« no previous file with comments | « remoting/protocol/jingle_session_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698