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

Side by Side Diff: mojo/services/network/interfaces/url_loader_interceptor.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/url_request.mojom"; 8 import "mojo/public/interfaces/network/url_request.mojom";
9 import "mojo/public/interfaces/network/url_response.mojom"; 9 import "mojo/public/interfaces/network/url_response.mojom";
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // Response for the intercept methods. One and only one of the two fields 46 // Response for the intercept methods. One and only one of the two fields
47 // must be set. If |request| is set, the url loader will execute the request. 47 // must be set. If |request| is set, the url loader will execute the request.
48 // If |response| is set, the url loader will send it to its client. It is the 48 // If |response| is set, the url loader will send it to its client. It is the
49 // responsibility of the interceptor not to create infinite loops. 49 // responsibility of the interceptor not to create infinite loops.
50 // TODO(qsr): Change this to an union. 50 // TODO(qsr): Change this to an union.
51 struct URLLoaderInterceptorResponse { 51 struct URLLoaderInterceptorResponse {
52 URLRequest? request; 52 URLRequest? request;
53 URLResponse? response; 53 URLResponse? response;
54 }; 54 };
OLDNEW
« no previous file with comments | « mojo/services/network/interfaces/url_loader.mojom ('k') | mojo/services/network/interfaces/web_socket.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698