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

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, 6 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/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() {}

Powered by Google App Engine
This is Rietveld 408576698