| Index: chrome/browser/extensions/api/socket/socket.h
|
| diff --git a/chrome/browser/extensions/api/socket/socket.h b/chrome/browser/extensions/api/socket/socket.h
|
| index 60feeebb76ec72efde496620cbe6af8ad5aa7041..4c9692e758778c416d2924c29c2106378ce53383 100644
|
| --- a/chrome/browser/extensions/api/socket/socket.h
|
| +++ b/chrome/browser/extensions/api/socket/socket.h
|
| @@ -39,6 +39,9 @@ class Socket : public APIResource {
|
| virtual void Connect(const std::string& address,
|
| int port,
|
| const CompletionCallback& callback) = 0;
|
| + virtual void PerformSSLHandshake(const std::string& ssl_hostname,
|
| + int ssl_port,
|
| + const CompletionCallback& callback);
|
| virtual void Disconnect() = 0;
|
| virtual int Bind(const std::string& address, int port) = 0;
|
|
|
| @@ -77,6 +80,7 @@ class Socket : public APIResource {
|
| protected:
|
| explicit Socket(APIResourceEventNotifier* event_notifier);
|
|
|
| + bool write_queue_empty() const;
|
| void WriteData();
|
| virtual int WriteImpl(net::IOBuffer* io_buffer,
|
| int io_buffer_size,
|
|
|