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

Side by Side Diff: components/network_hints/common/network_hints_common.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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 (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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698