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

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

Issue 1262263003: Add DartPackage annotation to all mojo_services mojoms (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 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 [DartPackage="mojo_services"]
5 module mojo; 6 module mojo;
6 7
7 import "mojo/public/interfaces/network/network_error.mojom"; 8 import "mojo/public/interfaces/network/network_error.mojom";
8 import "mojo/public/interfaces/network/url_request.mojom"; 9 import "mojo/public/interfaces/network/url_request.mojom";
9 import "mojo/public/interfaces/network/url_response.mojom"; 10 import "mojo/public/interfaces/network/url_response.mojom";
10 11
11 struct URLLoaderStatus { 12 struct URLLoaderStatus {
12 // If the loader has failed due to a network level error, this field will be 13 // If the loader has failed due to a network level error, this field will be
13 // set. 14 // set.
14 NetworkError? error; 15 NetworkError? error;
(...skipping 14 matching lines...) Expand all
29 Start(URLRequest request) => (URLResponse response); 30 Start(URLRequest request) => (URLResponse response);
30 31
31 // If the request passed to |Start| had |auto_follow_redirects| set to false, 32 // If the request passed to |Start| had |auto_follow_redirects| set to false,
32 // then upon receiving an URLResponse with a non-NULL |redirect_url| field, 33 // then upon receiving an URLResponse with a non-NULL |redirect_url| field,
33 // |FollowRedirect| may be called to load the URL indicated by the redirect. 34 // |FollowRedirect| may be called to load the URL indicated by the redirect.
34 FollowRedirect() => (URLResponse response); 35 FollowRedirect() => (URLResponse response);
35 36
36 // Query status about the URLLoader. 37 // Query status about the URLLoader.
37 QueryStatus() => (URLLoaderStatus status); 38 QueryStatus() => (URLLoaderStatus status);
38 }; 39 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698