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

Unified Diff: third_party/libjingle_xmpp/xmpp/xmppengine_unittest.cc

Issue 2738973004: Replace rtc::CryptString with std::string (Closed)
Patch Set: Created 3 years, 9 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: third_party/libjingle_xmpp/xmpp/xmppengine_unittest.cc
diff --git a/third_party/libjingle_xmpp/xmpp/xmppengine_unittest.cc b/third_party/libjingle_xmpp/xmpp/xmppengine_unittest.cc
index 5b9ff966ec294279489a783ad0e55bba60a50e66..5e399154e40b78c29bd8939d172865f685744213 100644
--- a/third_party/libjingle_xmpp/xmpp/xmppengine_unittest.cc
+++ b/third_party/libjingle_xmpp/xmpp/xmppengine_unittest.cc
@@ -62,14 +62,13 @@ class XmppEngineTest : public testing::Test {
handler_.reset(new XmppTestHandler(engine_.get()));
Jid jid("david@my-server");
- rtc::InsecureCryptStringImpl pass;
- pass.password() = "david";
+ std::string pass("david");
engine_->SetSessionHandler(handler_.get());
engine_->SetOutputHandler(handler_.get());
engine_->AddStanzaHandler(handler_.get());
engine_->SetUser(jid);
engine_->SetSaslHandler(
- new buzz::PlainSaslHandler(jid, rtc::CryptString(pass), true));
+ new buzz::PlainSaslHandler(jid, pass, true));
}
virtual void TearDown() {
handler_.reset();

Powered by Google App Engine
This is Rietveld 408576698