OLD | NEW |
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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "components/network_hints/common/network_hints_common.h" | 9 #include "components/network_hints/common/network_hints_common.h" |
10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 // Host messages | 35 // Host messages |
36 // These are messages sent from the renderer process to the browser process. | 36 // These are messages sent from the renderer process to the browser process. |
37 | 37 |
38 // Request for a DNS prefetch of the names in the array. | 38 // Request for a DNS prefetch of the names in the array. |
39 // NameList is typedef'ed std::vector<std::string> | 39 // NameList is typedef'ed std::vector<std::string> |
40 IPC_MESSAGE_CONTROL1(NetworkHintsMsg_DNSPrefetch, | 40 IPC_MESSAGE_CONTROL1(NetworkHintsMsg_DNSPrefetch, |
41 network_hints::LookupRequest) | 41 network_hints::LookupRequest) |
42 | 42 |
43 | 43 |
44 // Request for preconnect to host providing resource specified by URL | 44 // Request for preconnect to host providing resource specified by URL |
45 IPC_MESSAGE_CONTROL2(NetworkHintsMsg_Preconnect, | 45 IPC_MESSAGE_CONTROL3(NetworkHintsMsg_Preconnect, |
46 GURL /* preconnect target url */, | 46 GURL /* preconnect target url */, |
47 int /* number of connections */) | 47 bool /* Does connection have its credentials flag set */, |
48 | 48 int /* number of connections */) |
OLD | NEW |