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

Unified Diff: remoting/protocol/stream_channel_factory.h

Issue 1197853003: Add P2PDatagramSocket and P2PStreamSocket interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/ssl_hmac_channel_authenticator_unittest.cc ('k') | remoting/protocol/transport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/stream_channel_factory.h
diff --git a/remoting/protocol/stream_channel_factory.h b/remoting/protocol/stream_channel_factory.h
index 6dc016881b58ad0e33afcb0ce81e63c2bee69c04..cbfef254fe915c7df3104ebd28ad8d5911593913 100644
--- a/remoting/protocol/stream_channel_factory.h
+++ b/remoting/protocol/stream_channel_factory.h
@@ -11,19 +11,16 @@
#include "base/memory/scoped_ptr.h"
#include "base/threading/non_thread_safe.h"
-namespace net {
-class Socket;
-class StreamSocket;
-} // namespace net
-
namespace remoting {
namespace protocol {
+class P2PStreamSocket;
+
class StreamChannelFactory : public base::NonThreadSafe {
public:
// TODO(sergeyu): Specify connection error code when channel
// connection fails.
- typedef base::Callback<void(scoped_ptr<net::StreamSocket>)>
+ typedef base::Callback<void(scoped_ptr<P2PStreamSocket>)>
ChannelCreatedCallback;
StreamChannelFactory() {}
« no previous file with comments | « remoting/protocol/ssl_hmac_channel_authenticator_unittest.cc ('k') | remoting/protocol/transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698