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

Side by Side Diff: mojo/services/network/web_socket_impl.h

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 10 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 | « mojo/services/network/url_loader_impl.h ('k') | mojo/tools/roll/cc_strip_video.patch » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_SERVICES_NETWORK_WEB_SOCKET_IMPL_H_ 5 #ifndef MOJO_SERVICES_NETWORK_WEB_SOCKET_IMPL_H_
6 #define MOJO_SERVICES_NETWORK_WEB_SOCKET_IMPL_H_ 6 #define MOJO_SERVICES_NETWORK_WEB_SOCKET_IMPL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "mojo/services/network/public/interfaces/web_socket.mojom.h"
9 #include "mojo/public/cpp/bindings/interface_impl.h" 10 #include "mojo/public/cpp/bindings/interface_impl.h"
10 #include "mojo/services/network/public/interfaces/web_socket.mojom.h"
11 11
12 namespace net { 12 namespace net {
13 class WebSocketChannel; 13 class WebSocketChannel;
14 } // namespace net 14 } // namespace net
15 15
16 namespace mojo { 16 namespace mojo {
17 class NetworkContext; 17 class NetworkContext;
18 class WebSocketReadQueue; 18 class WebSocketReadQueue;
19 19
20 // Forms a bridge between the WebSocket mojo interface and the net::WebSocket 20 // Forms a bridge between the WebSocket mojo interface and the net::WebSocket
(...skipping 23 matching lines...) Expand all
44 // The channel we use to send events to the network. 44 // The channel we use to send events to the network.
45 scoped_ptr<net::WebSocketChannel> channel_; 45 scoped_ptr<net::WebSocketChannel> channel_;
46 ScopedDataPipeConsumerHandle send_stream_; 46 ScopedDataPipeConsumerHandle send_stream_;
47 scoped_ptr<WebSocketReadQueue> read_queue_; 47 scoped_ptr<WebSocketReadQueue> read_queue_;
48 NetworkContext* context_; 48 NetworkContext* context_;
49 }; 49 };
50 50
51 } // namespace mojo 51 } // namespace mojo
52 52
53 #endif // MOJO_SERVICES_NETWORK_WEB_SOCKET_IMPL_H_ 53 #endif // MOJO_SERVICES_NETWORK_WEB_SOCKET_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/network/url_loader_impl.h ('k') | mojo/tools/roll/cc_strip_video.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698