Index: mojo/services/network/public/interfaces/http_connection.mojom |
diff --git a/mojo/services/network/public/interfaces/http_connection.mojom b/mojo/services/network/public/interfaces/http_connection.mojom |
index bf98038fd8a61d6767a86592d63285b4285e30a9..1733ed22d39151f7d1f52b3fc8cfc295af48dd1c 100644 |
--- a/mojo/services/network/public/interfaces/http_connection.mojom |
+++ b/mojo/services/network/public/interfaces/http_connection.mojom |
@@ -4,7 +4,7 @@ |
module mojo; |
-import "network/public/interfaces/url_loader.mojom"; |
+import "network/public/interfaces/http_message.mojom"; |
import "network/public/interfaces/network_error.mojom"; |
import "network/public/interfaces/web_socket.mojom"; |
@@ -18,7 +18,7 @@ interface HttpConnection { |
interface HttpConnectionDelegate { |
// Called when an HTTP request is received. |
- OnReceivedRequest(URLRequest request) => (URLResponse response); |
+ OnReceivedRequest(HttpRequest request) => (HttpResponse response); |
// Called when an WebSocket request is received. |
// |
@@ -28,7 +28,7 @@ interface HttpConnectionDelegate { |
// WebSocket should be written to the producer end of the |send_stream|. |
// |web_socket| will be already connected. There is no need to call Connect() |
// on it. But |client| will still receive a DidConnect() notification. |
- OnReceivedWebSocketRequest(URLRequest request) |
+ OnReceivedWebSocketRequest(HttpRequest request) |
=> (WebSocket&? web_socket, |
handle<data_pipe_consumer>? send_stream, |
WebSocketClient? client); |