diff options
author | Steve Block <steveblock@google.com> | 2009-12-15 10:12:09 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-12-17 17:41:10 +0000 |
commit | 643ca7872b450ea4efacab6188849e5aac2ba161 (patch) | |
tree | 6982576c228bcd1a7efe98afed544d840751094c /WebCore/websockets/WebSocketChannel.h | |
parent | d026980fde6eb3b01c1fe49441174e89cd1be298 (diff) | |
download | external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.zip external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.tar.gz external_webkit-643ca7872b450ea4efacab6188849e5aac2ba161.tar.bz2 |
Merge webkit.org at r51976 : Initial merge by git.
Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
Diffstat (limited to 'WebCore/websockets/WebSocketChannel.h')
-rw-r--r-- | WebCore/websockets/WebSocketChannel.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/WebCore/websockets/WebSocketChannel.h b/WebCore/websockets/WebSocketChannel.h index ad38163..14b1e8c 100644 --- a/WebCore/websockets/WebSocketChannel.h +++ b/WebCore/websockets/WebSocketChannel.h @@ -50,21 +50,18 @@ namespace WebCore { static PassRefPtr<WebSocketChannel> create(ScriptExecutionContext* context, WebSocketChannelClient* client, const KURL& url, const String& protocol) { return adoptRef(new WebSocketChannel(context, client, url, protocol)); } virtual ~WebSocketChannel(); - virtual void connect(); + void connect(); + bool send(const String& msg); + unsigned long bufferedAmount() const; + void close(); + void disconnect(); // Will suppress didClose(). - virtual bool send(const String& msg); - virtual unsigned long bufferedAmount() const; - - virtual void close(); - - virtual void disconnect(); - - virtual void willOpenStream(SocketStreamHandle*, const KURL&); - virtual void willSendData(SocketStreamHandle*, const char*, int); virtual void didOpen(SocketStreamHandle*); virtual void didClose(SocketStreamHandle*); virtual void didReceiveData(SocketStreamHandle*, const char*, int); virtual void didFail(SocketStreamHandle*, const SocketStreamError&); + virtual void didReceiveAuthenticationChallenge(SocketStreamHandle*, const AuthenticationChallenge&); + virtual void didCancelAuthenticationChallenge(SocketStreamHandle*, const AuthenticationChallenge&); private: WebSocketChannel(ScriptExecutionContext*, WebSocketChannelClient*, const KURL&, const String&); |