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

Side by Side Diff: mojo/services/network/public/interfaces/url_loader.mojom

Issue 1229903003: Mandoline: Implement basic "process per site" support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit 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 unified diff | Download patch
« no previous file with comments | « no previous file | mojo/services/network/url_loader_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module mojo; 5 module mojo;
6 6
7 import "network/public/interfaces/http_message.mojom"; 7 import "network/public/interfaces/http_message.mojom";
8 import "network/public/interfaces/network_error.mojom"; 8 import "network/public/interfaces/network_error.mojom";
9 9
10 struct URLRequest { 10 struct URLRequest {
(...skipping 30 matching lines...) Expand all
41 // If the response resulted in a network level error, this field will be set. 41 // If the response resulted in a network level error, this field will be set.
42 NetworkError? error; 42 NetworkError? error;
43 43
44 // The response body stream. Read from this data pipe to receive the bytes of 44 // The response body stream. Read from this data pipe to receive the bytes of
45 // response body. 45 // response body.
46 handle<data_pipe_consumer>? body; 46 handle<data_pipe_consumer>? body;
47 47
48 // The final URL of the response, after redirects have been followed. 48 // The final URL of the response, after redirects have been followed.
49 string? url; 49 string? url;
50 50
51 // The site of the URL.
52 string? site;
53
51 // The HTTP status code. 0 if not applicable. 54 // The HTTP status code. 0 if not applicable.
52 uint32 status_code; 55 uint32 status_code;
53 56
54 // The HTTP status line. 57 // The HTTP status line.
55 string? status_line; 58 string? status_line;
56 59
57 // The HTTP response headers. 60 // The HTTP response headers.
58 array<HttpHeader>? headers; 61 array<HttpHeader>? headers;
59 62
60 // The MIME type of the response body. 63 // The MIME type of the response body.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 Start(URLRequest request) => (URLResponse response); 95 Start(URLRequest request) => (URLResponse response);
93 96
94 // If the request passed to |Start| had |auto_follow_redirects| set to false, 97 // If the request passed to |Start| had |auto_follow_redirects| set to false,
95 // then upon receiving an URLResponse with a non-NULL |redirect_url| field, 98 // then upon receiving an URLResponse with a non-NULL |redirect_url| field,
96 // |FollowRedirect| may be called to load the URL indicated by the redirect. 99 // |FollowRedirect| may be called to load the URL indicated by the redirect.
97 FollowRedirect() => (URLResponse response); 100 FollowRedirect() => (URLResponse response);
98 101
99 // Query status about the URLLoader. 102 // Query status about the URLLoader.
100 QueryStatus() => (URLLoaderStatus status); 103 QueryStatus() => (URLLoaderStatus status);
101 }; 104 };
OLDNEW
« no previous file with comments | « no previous file | mojo/services/network/url_loader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698