| Index: remoting/protocol/channel_authenticator.h
|
| diff --git a/remoting/protocol/channel_authenticator.h b/remoting/protocol/channel_authenticator.h
|
| index 8bef908df5cc810777fe2e2ec2239efd505681e0..e29e7d8cc5850244b4ff603f37d7307715e8e954 100644
|
| --- a/remoting/protocol/channel_authenticator.h
|
| +++ b/remoting/protocol/channel_authenticator.h
|
| @@ -9,20 +9,18 @@
|
|
|
| #include "base/callback_forward.h"
|
|
|
| -namespace net {
|
| -class StreamSocket;
|
| -} // namespace net
|
| -
|
| namespace remoting {
|
| namespace protocol {
|
|
|
| +class P2PStreamSocket;
|
| +
|
| // Interface for channel authentications that perform channel-level
|
| // authentication. Depending on implementation channel authenticators
|
| // may also establish SSL connection. Each instance of this interface
|
| // should be used only once for one channel.
|
| class ChannelAuthenticator {
|
| public:
|
| - typedef base::Callback<void(int error, scoped_ptr<net::StreamSocket>)>
|
| + typedef base::Callback<void(int error, scoped_ptr<P2PStreamSocket>)>
|
| DoneCallback;
|
|
|
| virtual ~ChannelAuthenticator() {}
|
| @@ -31,7 +29,7 @@ class ChannelAuthenticator {
|
| // authentication is finished. Callback may be invoked before this method
|
| // returns, and may delete the calling authenticator.
|
| virtual void SecureAndAuthenticate(
|
| - scoped_ptr<net::StreamSocket> socket,
|
| + scoped_ptr<P2PStreamSocket> socket,
|
| const DoneCallback& done_callback) = 0;
|
| };
|
|
|
|
|