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

Side by Side Diff: mojo/services/network/interfaces/http_message.mojom

Issue 1404443004: Move //mojo/services/network/public/interfaces to //mojo/services/network/interfaces. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add some missing dependencies Created 5 years, 2 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 import "mojo/public/interfaces/network/http_header.mojom"; 8 import "mojo/public/interfaces/network/http_header.mojom";
9 9
10 struct HttpRequest { 10 struct HttpRequest {
11 string method = "GET"; 11 string method = "GET";
12 string url; 12 string url;
13 array<HttpHeader>? headers; 13 array<HttpHeader>? headers;
14 handle<data_pipe_consumer>? body; 14 handle<data_pipe_consumer>? body;
15 }; 15 };
16 16
17 struct HttpResponse { 17 struct HttpResponse {
18 uint32 status_code = 200; 18 uint32 status_code = 200;
19 array<HttpHeader>? headers; 19 array<HttpHeader>? headers;
20 handle<data_pipe_consumer>? body; 20 handle<data_pipe_consumer>? body;
21 }; 21 };
OLDNEW
« no previous file with comments | « mojo/services/network/interfaces/http_connection.mojom ('k') | mojo/services/network/interfaces/http_server.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698