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

Unified Diff: mojo/services/network/public/interfaces/http_connection.mojom

Issue 1129143005: Introduce Http{Request,Response} mojom structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: 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);

Powered by Google App Engine
This is Rietveld 408576698