| Index: net/socket_stream/socket_stream.h
|
| diff --git a/net/socket_stream/socket_stream.h b/net/socket_stream/socket_stream.h
|
| index e8b250eae8b2dd35163f92a0611ec7cf83a2dceb..b8fd0bfc8ac44b0a473f5e51fc6d759339bbc778 100644
|
| --- a/net/socket_stream/socket_stream.h
|
| +++ b/net/socket_stream/socket_stream.h
|
| @@ -18,6 +18,7 @@
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/io_buffer.h"
|
| #include "net/base/net_log.h"
|
| +#include "net/base/net_errors.h"
|
| #include "net/http/http_auth.h"
|
| #include "net/http/http_auth_cache.h"
|
| #include "net/http/http_auth_handler.h"
|
| @@ -34,7 +35,6 @@ class HttpAuthHandlerFactory;
|
| class SSLConfigService;
|
| class SingleRequestHostResolver;
|
| class SocketStreamMetrics;
|
| -class SocketStreamThrottle;
|
|
|
| // SocketStream is used to implement Web Sockets.
|
| // It provides plain full-duplex stream with proxy and SSL support.
|
| @@ -57,6 +57,11 @@ class SocketStream : public base::RefCountedThreadSafe<SocketStream> {
|
| public:
|
| virtual ~Delegate() {}
|
|
|
| + virtual int OnStartOpenConnection(SocketStream* socket,
|
| + CompletionCallback* callback) {
|
| + return OK;
|
| + }
|
| +
|
| // Called when socket stream has been connected. The socket stream accepts
|
| // at most |max_pending_send_allowed| so that a client of the socket stream
|
| // should keep track of how much it has pending and shouldn't go over
|
| @@ -313,8 +318,6 @@ class SocketStream : public base::RefCountedThreadSafe<SocketStream> {
|
| int write_buf_size_;
|
| PendingDataQueue pending_write_bufs_;
|
|
|
| - SocketStreamThrottle* throttle_;
|
| -
|
| scoped_ptr<SocketStreamMetrics> metrics_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SocketStream);
|
|
|