| Index: chrome/test/chromedriver/net/sync_websocket_impl.h
|
| diff --git a/chrome/test/chromedriver/net/sync_websocket_impl.h b/chrome/test/chromedriver/net/sync_websocket_impl.h
|
| index 28aaa98a76f30efc75d3dfdc8b4f8a2a7ce356d5..cff039833b80a81d2eccbe9cdd1ebdb1f0c457cf 100644
|
| --- a/chrome/test/chromedriver/net/sync_websocket_impl.h
|
| +++ b/chrome/test/chromedriver/net/sync_websocket_impl.h
|
| @@ -35,6 +35,7 @@ class SyncWebSocketImpl : public SyncWebSocket {
|
| virtual ~SyncWebSocketImpl();
|
|
|
| // Overridden from SyncWebSocket:
|
| + virtual bool IsConnected() OVERRIDE;
|
| virtual bool Connect(const GURL& url) OVERRIDE;
|
| virtual bool Send(const std::string& message) OVERRIDE;
|
| virtual bool ReceiveNextMessage(std::string* message) OVERRIDE;
|
| @@ -47,6 +48,8 @@ class SyncWebSocketImpl : public SyncWebSocket {
|
| public:
|
| explicit Core(net::URLRequestContextGetter* context_getter);
|
|
|
| + bool IsConnected();
|
| +
|
| bool Connect(const GURL& url);
|
|
|
| bool Send(const std::string& message);
|
| @@ -87,7 +90,7 @@ class SyncWebSocketImpl : public SyncWebSocket {
|
| base::Lock lock_;
|
|
|
| // Protected by |lock_|.
|
| - bool closed_;
|
| + bool is_connected_;
|
|
|
| // Protected by |lock_|.
|
| std::list<std::string> received_queue_;
|
|
|