OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module network_hints.mojom; | |
6 | |
7 import "url/mojo/url.mojom"; | |
8 | |
9 [Native] | |
10 struct LookupRequest; | |
11 | |
12 // These are messages sent from the renderer process to the browser process. | |
13 interface NetworkHints { | |
14 // Request for a DNS prefetch of the names in the array. | |
15 DNSPrefetch(LookupRequest request); | |
16 | |
17 // Request for preconnect to host providing resource specified by URL. | |
18 Preconnect( | |
19 url.mojom.Url url, // preconnect target url | |
20 bool allow_credentials, // Does connection have its credentials flag set | |
21 int32 count); // number of connections | |
22 }; | |
OLD | NEW |