TLSSocket(scoped_ptr<net::StreamSocket> tls_socket,
const std::string& owner_extension_id);
TLSSocket(scoped_ptr<net::StreamSocket> tls_socket,
const std::string& owner_extension_id);
// Most of these methods either fail or forward the method call on to the
// inner net::StreamSocket. The remaining few do actual TLS work.
// Fails.
// Most of these methods either fail or forward the method call on to the
// inner net::StreamSocket. The remaining few do actual TLS work.
// Fails.
- virtual void Connect(const std::string& address,
- int port,
- const CompletionCallback& callback) OVERRIDE;
+ void Connect(const std::string& address,
+ int port,
+ const CompletionCallback& callback) override;
// Attempts to read |count| bytes of decrypted data from the TLS socket,
// invoking |callback| with the actual number of bytes read, or a network
// error code if an error occurred.
// Attempts to read |count| bytes of decrypted data from the TLS socket,
// invoking |callback| with the actual number of bytes read, or a network
// error code if an error occurred.
- virtual int Listen(const std::string& address,
- int port,
- int backlog,
- std::string* error_msg) OVERRIDE;
+ int Listen(const std::string& address,
+ int port,
+ int backlog,
+ std::string* error_msg) override;
// Convert |socket| to a TLS socket. |socket| must be an open TCP client
// socket. |socket| must not have a pending read. UpgradeSocketToTLS() must
// Convert |socket| to a TLS socket. |socket| must be an open TCP client
// socket. |socket| must not have a pending read. UpgradeSocketToTLS() must
- virtual int WriteImpl(net::IOBuffer* io_buffer,
- int io_buffer_size,
- const net::CompletionCallback& callback) OVERRIDE;
+ int WriteImpl(net::IOBuffer* io_buffer,
+ int io_buffer_size,
+ const net::CompletionCallback& callback) override;