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

Unified Diff: remoting/protocol/session.h

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/session.h
diff --git a/remoting/protocol/session.h b/remoting/protocol/session.h
index 89cc266435b630c0477a21c16e3907317c1450cc..42e53208ba75012ca47baf9769099c345bfa8400 100644
--- a/remoting/protocol/session.h
+++ b/remoting/protocol/session.h
@@ -36,10 +36,8 @@ class Session : public base::NonThreadSafe {
};
typedef Callback1<State>::Type StateChangeCallback;
- typedef base::Callback<void(const std::string&, net::StreamSocket*)>
- StreamChannelCallback;
- typedef base::Callback<void(const std::string&, net::Socket*)>
- DatagramChannelCallback;
+ typedef base::Callback<void(net::StreamSocket*)> StreamChannelCallback;
+ typedef base::Callback<void(net::Socket*)> DatagramChannelCallback;
Session() { }
virtual ~Session() { }
« remoting/protocol/rtp_video_reader.cc ('K') | « remoting/protocol/rtp_video_writer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698