OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 #ifndef COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_COMMON_H_ | 5 #ifndef COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_COMMON_H_ |
6 #define COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_COMMON_H_ | 6 #define COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_COMMON_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "url/gurl.h" | 13 #include "url/gurl.h" |
12 | 14 |
13 namespace network_hints { | 15 namespace network_hints { |
14 | 16 |
15 // IPC messages are passed from the renderer to the browser in the form of | 17 // IPC messages are passed from the renderer to the browser in the form of |
16 // Namelist instances. | 18 // Namelist instances. |
17 // Each element of this vector is a hostname that needs to be looked up. | 19 // Each element of this vector is a hostname that needs to be looked up. |
(...skipping 14 matching lines...) Expand all Loading... |
32 // The maximum number of hostnames submitted to the browser DNS resolver per | 34 // The maximum number of hostnames submitted to the browser DNS resolver per |
33 // IPC call. | 35 // IPC call. |
34 extern const size_t kMaxDnsHostnamesPerRequest; | 36 extern const size_t kMaxDnsHostnamesPerRequest; |
35 | 37 |
36 // The maximum length for a given DNS hostname to resolve. | 38 // The maximum length for a given DNS hostname to resolve. |
37 extern const size_t kMaxDnsHostnameLength; | 39 extern const size_t kMaxDnsHostnameLength; |
38 | 40 |
39 } // namespace network_hints | 41 } // namespace network_hints |
40 | 42 |
41 #endif // COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_COMMON_H_ | 43 #endif // COMPONENTS_NETWORK_HINTS_COMMON_NETWORK_HINTS_COMMON_H_ |
OLD | NEW |