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

Unified Diff: services/http_server/public/http_server_factory.mojom

Issue 953513002: http_server: accept full NetAddress in CreateHttpServer. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: services/http_server/public/http_server_factory.mojom
diff --git a/services/http_server/public/http_server_factory.mojom b/services/http_server/public/http_server_factory.mojom
index f0af8744cc3c7a5539c0de06bf19841f6ee0a6f0..6780b5aaaab0b717dd261afa0a9bb94aa6c4741b 100644
--- a/services/http_server/public/http_server_factory.mojom
+++ b/services/http_server/public/http_server_factory.mojom
@@ -4,6 +4,7 @@
module http_server;
+import "mojo/services/network/public/interfaces/net_address.mojom";
import "services/http_server/public/http_server.mojom";
interface HttpServerFactory {
@@ -18,5 +19,5 @@ interface HttpServerFactory {
// TODO(ppi): would it be better to create a server only for the first caller
// and require the access to it to be explicitly shared by the party that
// requests it first?
- CreateHttpServer(HttpServer& server_request, uint16 port);
+ CreateHttpServer(HttpServer& server_request, mojo.NetAddress? local_address);
};

Powered by Google App Engine
This is Rietveld 408576698