OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 URL_URL_CANON_INTERNAL_H_ | 5 #ifndef URL_URL_CANON_INTERNAL_H_ |
6 #define URL_URL_CANON_INTERNAL_H_ | 6 #define URL_URL_CANON_INTERNAL_H_ |
7 | 7 |
8 // This file is intended to be included in another C++ file where the character | 8 // This file is intended to be included in another C++ file where the character |
9 // types are defined. This allows us to write mostly generic code, but not have | 9 // types are defined. This allows us to write mostly generic code, but not have |
10 // template bloat because everything is inlined when anybody calls any of our | 10 // template bloat because everything is inlined when anybody calls any of our |
11 // functions. | 11 // functions. |
12 | 12 |
| 13 #include <stddef.h> |
13 #include <stdlib.h> | 14 #include <stdlib.h> |
14 | 15 |
15 #include "base/logging.h" | 16 #include "base/logging.h" |
16 #include "url/url_canon.h" | 17 #include "url/url_canon.h" |
17 | 18 |
18 namespace url { | 19 namespace url { |
19 | 20 |
20 // Character type handling ----------------------------------------------------- | 21 // Character type handling ----------------------------------------------------- |
21 | 22 |
22 // Bits that identify different character types. These types identify different | 23 // Bits that identify different character types. These types identify different |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 inline unsigned long long _strtoui64(const char* nptr, | 425 inline unsigned long long _strtoui64(const char* nptr, |
425 char** endptr, int base) { | 426 char** endptr, int base) { |
426 return strtoull(nptr, endptr, base); | 427 return strtoull(nptr, endptr, base); |
427 } | 428 } |
428 | 429 |
429 #endif // WIN32 | 430 #endif // WIN32 |
430 | 431 |
431 } // namespace url | 432 } // namespace url |
432 | 433 |
433 #endif // URL_URL_CANON_INTERNAL_H_ | 434 #endif // URL_URL_CANON_INTERNAL_H_ |
OLD | NEW |