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

Unified Diff: remoting/protocol/jingle_session_unittest.cc

Issue 7605018: Simplify channel creation callbacks in remoting::Session interface. (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
Index: remoting/protocol/jingle_session_unittest.cc
diff --git a/remoting/protocol/jingle_session_unittest.cc b/remoting/protocol/jingle_session_unittest.cc
index 49f686d7c764930d68f4a902ffe1e5ecacf53761..afcdd80c26576da76e7a6a8ba904746acbea344f 100644
--- a/remoting/protocol/jingle_session_unittest.cc
+++ b/remoting/protocol/jingle_session_unittest.cc
@@ -381,10 +381,8 @@ class TCPChannelTester : public ChannelTesterBase {
base::Unretained(this), 1));
}
- void OnChannelReady(int id, const std::string name,
- net::StreamSocket* socket) {
+ void OnChannelReady(int id, net::StreamSocket* socket) {
ASSERT_TRUE(socket);
- ASSERT_EQ(name, kChannelName);
if (!socket) {
Done();
return;
@@ -547,9 +545,8 @@ class UDPChannelTester : public ChannelTesterBase {
base::Unretained(this), 1));
}
- void OnChannelReady(int id, const std::string name, net::Socket* socket) {
+ void OnChannelReady(int id, net::Socket* socket) {
ASSERT_TRUE(socket);
- ASSERT_EQ(name, kChannelName);
if (!socket) {
Done();
return;

Powered by Google App Engine
This is Rietveld 408576698