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

Side by Side Diff: url/url_canon_internal.h

Issue 1542703002: Switch to standard integer types in url/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « url/url_canon_icu_unittest.cc ('k') | url/url_canon_internal.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « url/url_canon_icu_unittest.cc ('k') | url/url_canon_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698