summaryrefslogtreecommitdiffstats
path: root/WebCore/websockets/WebSocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/websockets/WebSocket.h')
-rw-r--r--WebCore/websockets/WebSocket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/websockets/WebSocket.h b/WebCore/websockets/WebSocket.h
index c5b7ee7..9ecbed7 100644
--- a/WebCore/websockets/WebSocket.h
+++ b/WebCore/websockets/WebSocket.h
@@ -50,6 +50,10 @@ namespace WebCore {
class WebSocket : public RefCounted<WebSocket>, public EventTarget, public ActiveDOMObject, public WebSocketChannelClient {
public:
+#if USE(V8)
+ static void setIsAvailable(bool);
+ static bool isAvailable();
+#endif
static PassRefPtr<WebSocket> create(ScriptExecutionContext* context) { return adoptRef(new WebSocket(context)); }
virtual ~WebSocket();