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

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

Issue 1157783002: Update to newer network service implementation and mojoms from monet (Closed) Base URL: git@github.com:domokit/mojo.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/url_loader.mojom
diff --git a/mojo/services/network/public/interfaces/url_loader.mojom b/mojo/services/network/public/interfaces/url_loader.mojom
index 77db3ad1b3039572180c31231ef281227e73b8d4..d0a7164246c086b08007dccbb31a5eb17c4e8333 100644
--- a/mojo/services/network/public/interfaces/url_loader.mojom
+++ b/mojo/services/network/public/interfaces/url_loader.mojom
@@ -4,6 +4,7 @@
module mojo;
+import "network/public/interfaces/http_message.mojom";
import "network/public/interfaces/network_error.mojom";
struct URLRequest {
@@ -14,7 +15,7 @@ struct URLRequest {
string method = "GET";
// Additional HTTP request headers.
- array<string>? headers;
+ array<HttpHeader>? headers;
// The payload for the request body, represented as a concatenation of data
// streams. For HTTP requests, the method must be set to "POST" or "PUT".
@@ -34,9 +35,6 @@ struct URLRequest {
// servers to also not satisfy the request from their cache. This has the
// effect of forcing a full end-to-end fetch.
bool bypass_cache = false;
-
- // The referrer request header.
- string? referrer;
};
struct URLResponse {
@@ -57,7 +55,7 @@ struct URLResponse {
string? status_line;
// The HTTP response headers.
- array<string>? headers;
+ array<HttpHeader>? headers;
// The MIME type of the response body.
string? mime_type;

Powered by Google App Engine
This is Rietveld 408576698