Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: webkit/glue/websocketstreamhandle_impl.h

Issue 243108: Enable WebSocket in test_shell (Closed)
Patch Set: add +net/socket_stream in webkit/DEPS Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/glue/websocketstreamhandle_delegate.h ('k') | webkit/glue/websocketstreamhandle_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_
6 #define WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_
7
8 #include "base/ref_counted.h"
9 #include "webkit/api/public/WebSocketStreamHandle.h"
10
11 namespace webkit_glue {
12
13 class WebSocketStreamHandleImpl : public WebKit::WebSocketStreamHandle {
14 public:
15 WebSocketStreamHandleImpl();
16 virtual ~WebSocketStreamHandleImpl();
17
18 // WebSocketStreamHandle methods:
19 virtual void connect(
20 const WebKit::WebURL& url,
21 WebKit::WebSocketStreamHandleClient* client);
22 virtual bool send(const WebKit::WebData& data);
23 virtual void close();
24
25 private:
26 class Context;
27 scoped_refptr<Context> context_;
28
29 DISALLOW_COPY_AND_ASSIGN(WebSocketStreamHandleImpl);
30 };
31
32 } // namespace webkit_glue
33
34 #endif // WEBKIT_GLUE_WEBSOCKETSTREAMHANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/websocketstreamhandle_delegate.h ('k') | webkit/glue/websocketstreamhandle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698