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

Side by Side Diff: components/network_hints/public/interfaces/network_hints.mojom

Issue 2144533002: Convert network hints to Mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add untracked dependency on mojom Created 4 years, 5 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
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698