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

Unified Diff: mojo/services/network/http_connection_impl.cc

Issue 1399343002: Roll Mojo to b88737ed62969ce3203085748f0d53ff4f09ba5b. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/network/host_resolver_impl.cc ('k') | mojo/services/network/http_server_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/http_connection_impl.cc
diff --git a/mojo/services/network/http_connection_impl.cc b/mojo/services/network/http_connection_impl.cc
index 1fb8a4444860a810b9cd8d94f4073e4da8a4a86b..6203c2352482249a6029082221914e9ded65c6c9 100644
--- a/mojo/services/network/http_connection_impl.cc
+++ b/mojo/services/network/http_connection_impl.cc
@@ -150,7 +150,7 @@ class HttpConnectionImpl::WebSocketImpl : public WebSocket {
}
void Send(bool fin, MessageType type, uint32_t num_bytes) override {
- if (!fin || type != MESSAGE_TYPE_TEXT) {
+ if (!fin || type != MessageType::TEXT) {
NOTIMPLEMENTED();
Close();
}
@@ -190,7 +190,7 @@ class HttpConnectionImpl::WebSocketImpl : public WebSocket {
return;
if (buffer)
- client_->DidReceiveData(true, MESSAGE_TYPE_TEXT, num_bytes);
+ client_->DidReceiveData(true, MessageType::TEXT, num_bytes);
}
// Checks whether Close() has been called.
« no previous file with comments | « mojo/services/network/host_resolver_impl.cc ('k') | mojo/services/network/http_server_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698