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

Unified Diff: mojo/services/html_viewer/websockethandle_impl.h

Issue 808553007: Move HTMLViewer out of mojo namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge mistake in test 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/html_viewer/websockethandle_impl.h
diff --git a/mojo/services/html_viewer/websockethandle_impl.h b/mojo/services/html_viewer/websockethandle_impl.h
index 07491020ba587d4922064a88532218f6322cdcb8..eef6a96a7f61eb82539bbbbe05e10e50e16533d8 100644
--- a/mojo/services/html_viewer/websockethandle_impl.h
+++ b/mojo/services/html_viewer/websockethandle_impl.h
@@ -13,13 +13,17 @@
namespace mojo {
class NetworkService;
-class WebSocketClientImpl;
class WebSocketWriteQueue;
+}
+
+namespace html_viewer {
+
+class WebSocketClientImpl;
// Implements WebSocketHandle by talking to the mojo WebSocket interface.
class WebSocketHandleImpl : public blink::WebSocketHandle {
public:
- explicit WebSocketHandleImpl(NetworkService* network_service);
+ explicit WebSocketHandleImpl(mojo::NetworkService* network_service);
private:
friend class WebSocketClientImpl;
@@ -48,16 +52,16 @@ class WebSocketHandleImpl : public blink::WebSocketHandle {
// Called when the socket is closed.
void Disconnect();
- WebSocketPtr web_socket_;
+ mojo::WebSocketPtr web_socket_;
scoped_ptr<WebSocketClientImpl> client_;
- ScopedDataPipeProducerHandle send_stream_;
- scoped_ptr<WebSocketWriteQueue> write_queue_;
+ mojo::ScopedDataPipeProducerHandle send_stream_;
+ scoped_ptr<mojo::WebSocketWriteQueue> write_queue_;
// True if close() was called.
bool did_close_;
DISALLOW_COPY_AND_ASSIGN(WebSocketHandleImpl);
};
-} // namespace mojo
+} // namespace html_viewer
#endif // MOJO_SERVICES_HTML_VIEWER_WEBSOCKETHANDLE_IMPL_H_
« no previous file with comments | « mojo/services/html_viewer/webmimeregistry_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