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

Unified Diff: mojo/services/network/http_server_impl.h

Issue 1227373002: Roll mojo SDK to 734c6e1652ff2f3b696e441722838f453f4f9b42 (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Follow review Created 5 years, 5 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/http_connection_impl.cc ('k') | mojo/services/network/http_server_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/http_server_impl.h
diff --git a/mojo/services/network/http_server_impl.h b/mojo/services/network/http_server_impl.h
index 01e26cce02210c730f17db7df40e08df423ef9fc..67192da1384cfe9de23d20f41c3f81494b34e6ad 100644
--- a/mojo/services/network/http_server_impl.h
+++ b/mojo/services/network/http_server_impl.h
@@ -13,7 +13,6 @@
#include "mojo/services/network/public/interfaces/http_server.mojom.h"
#include "mojo/services/network/public/interfaces/net_address.mojom.h"
#include "net/server/http_server.h"
-#include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h"
namespace net {
class HttpServer;
@@ -23,8 +22,7 @@ namespace mojo {
class HttpConnectionImpl;
-class HttpServerImpl : public net::HttpServer::Delegate,
- public ErrorHandler {
+class HttpServerImpl : public net::HttpServer::Delegate {
public:
static void Create(
NetAddressPtr local_address,
@@ -39,7 +37,7 @@ class HttpServerImpl : public net::HttpServer::Delegate,
// notified that |delegate|'s pipe is closed. Deleting the object directly
// before that is okay, too.
explicit HttpServerImpl(HttpServerDelegatePtr delegate);
- ~HttpServerImpl() override;
+ virtual ~HttpServerImpl();
int Start(NetAddressPtr local_address);
NetAddressPtr GetLocalAddress() const;
@@ -53,9 +51,6 @@ class HttpServerImpl : public net::HttpServer::Delegate,
void OnWebSocketMessage(int connection_id, const std::string& data) override;
void OnClose(int connection_id) override;
- // ErrorHandler implementation.
- void OnConnectionError() override;
-
HttpServerDelegatePtr delegate_;
scoped_ptr<net::HttpServer> server_;
« no previous file with comments | « mojo/services/network/http_connection_impl.cc ('k') | mojo/services/network/http_server_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698