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

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

Issue 698883005: Update mojo sdk to rev cfc99316100efdfa7d53d83f9e07f1d4d3765c21 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
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;
6
5 import "mojo/services/public/interfaces/network/network_error.mojom"; 7 import "mojo/services/public/interfaces/network/network_error.mojom";
6 8
7 module mojo {
8
9 struct URLRequest { 9 struct URLRequest {
10 // The URL to load. 10 // The URL to load.
11 string? url; 11 string? url;
12 12
13 // The HTTP method if applicable. 13 // The HTTP method if applicable.
14 string? method = "GET"; 14 string? method = "GET";
15 15
16 // Additional HTTP request headers. 16 // Additional HTTP request headers.
17 array<string?>? headers; 17 array<string?>? headers;
18 18
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 Start(URLRequest? request) => (URLResponse? response); 95 Start(URLRequest? request) => (URLResponse? response);
96 96
97 // 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,
98 // 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,
99 // |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.
100 FollowRedirect() => (URLResponse? response); 100 FollowRedirect() => (URLResponse? response);
101 101
102 // Query status about the URLLoader. 102 // Query status about the URLLoader.
103 QueryStatus() => (URLLoaderStatus? status); 103 QueryStatus() => (URLLoaderStatus? status);
104 }; 104 };
105
106 }
OLDNEW
« no previous file with comments | « mojo/services/public/interfaces/network/udp_socket.mojom ('k') | mojo/services/public/interfaces/network/web_socket.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698