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

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

Issue 323593002: Mojo: Use network service to load non-local Mojo Apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
« no previous file with comments | « mojo/services/network/url_loader_impl.cc ('k') | mojo/shell/app_child_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/public/interfaces/network/url_loader.mojom
diff --git a/mojo/services/public/interfaces/network/url_loader.mojom b/mojo/services/public/interfaces/network/url_loader.mojom
index 4d1298e809184be79801f16c4d5b29998e4f173d..feab00a78ec2c4ac7d61f0298b0ffd4ecdf3130f 100644
--- a/mojo/services/public/interfaces/network/url_loader.mojom
+++ b/mojo/services/public/interfaces/network/url_loader.mojom
@@ -8,11 +8,12 @@ module mojo {
struct URLRequest {
string url;
- string method;
+ string method = "GET";
string[] headers;
handle<data_pipe_consumer> body;
- int64 body_length; // Set to -1 if length is unknown.
- bool follow_redirects;
+ int64 body_length = 0; // Set to -1 if length is unknown.
+ bool follow_redirects = false;
+ bool bypass_cache = false;
};
struct URLResponse {
« no previous file with comments | « mojo/services/network/url_loader_impl.cc ('k') | mojo/shell/app_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698