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

Side by Side Diff: content/child/web_socket_stream_handle_impl.h

Issue 655253006: Remove old WebSocket implementation from content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 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
OLDNEW
(Empty)
1 // Copyright 2014 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 CONTENT_CHILD_WEB_SOCKET_STREAM_HANDLE_IMPL_H_
6 #define CONTENT_CHILD_WEB_SOCKET_STREAM_HANDLE_IMPL_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/supports_user_data.h"
10 #include "third_party/WebKit/public/platform/WebSocketStreamHandle.h"
11
12 namespace content {
13
14 class WebSocketStreamHandleImpl : public base::SupportsUserData,
15 public blink::WebSocketStreamHandle {
16 public:
17 WebSocketStreamHandleImpl();
18 virtual ~WebSocketStreamHandleImpl();
19
20 // WebSocketStreamHandle methods:
21 virtual void connect(const blink::WebURL& url,
22 blink::WebSocketStreamHandleClient* client);
23 virtual bool send(const blink::WebData& data);
24 virtual void close();
25
26 private:
27 class Context;
28 scoped_refptr<Context> context_;
29
30 DISALLOW_COPY_AND_ASSIGN(WebSocketStreamHandleImpl);
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_CHILD_WEB_SOCKET_STREAM_HANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/web_socket_stream_handle_delegate.h ('k') | content/child/web_socket_stream_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698