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

Side by Side Diff: mojo/services/html_viewer/websockethandle_impl.h

Issue 799113004: Update mojo sdk to rev 59145288bae55b0fce4276b017df6a1117bcf00f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add mojo's ply to checklicenses whitelist Created 6 years 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
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_HTML_VIEWER_WEBSOCKETHANDLE_IMPL_H_ 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBSOCKETHANDLE_IMPL_H_
6 #define MOJO_SERVICES_HTML_VIEWER_WEBSOCKETHANDLE_IMPL_H_ 6 #define MOJO_SERVICES_HTML_VIEWER_WEBSOCKETHANDLE_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "mojo/common/handle_watcher.h" 10 #include "mojo/common/handle_watcher.h"
11 #include "mojo/services/public/interfaces/network/web_socket.mojom.h" 11 #include "mojo/services/network/public/interfaces/web_socket.mojom.h"
12 #include "third_party/WebKit/public/platform/WebSocketHandle.h" 12 #include "third_party/WebKit/public/platform/WebSocketHandle.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 class NetworkService; 15 class NetworkService;
16 class WebSocketClientImpl; 16 class WebSocketClientImpl;
17 class WebSocketWriteQueue; 17 class WebSocketWriteQueue;
18 18
19 // Implements WebSocketHandle by talking to the mojo WebSocket interface. 19 // Implements WebSocketHandle by talking to the mojo WebSocket interface.
20 class WebSocketHandleImpl : public blink::WebSocketHandle { 20 class WebSocketHandleImpl : public blink::WebSocketHandle {
21 public: 21 public:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 scoped_ptr<WebSocketWriteQueue> write_queue_; 54 scoped_ptr<WebSocketWriteQueue> write_queue_;
55 // True if close() was called. 55 // True if close() was called.
56 bool did_close_; 56 bool did_close_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(WebSocketHandleImpl); 58 DISALLOW_COPY_AND_ASSIGN(WebSocketHandleImpl);
59 }; 59 };
60 60
61 } // namespace mojo 61 } // namespace mojo
62 62
63 #endif // MOJO_SERVICES_HTML_VIEWER_WEBSOCKETHANDLE_IMPL_H_ 63 #endif // MOJO_SERVICES_HTML_VIEWER_WEBSOCKETHANDLE_IMPL_H_
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/weblayertreeview_impl.cc ('k') | mojo/services/html_viewer/websockethandle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698