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

Side by Side Diff: url/url_canon_internal.cc

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_internal.h ('k') | url/url_canon_unittest.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 #include "url/url_canon_internal.h" 5 #include "url/url_canon_internal.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <stddef.h>
8 #include <stdlib.h> 9 #include <stdlib.h>
9 10
10 #include <cstdio> 11 #include <cstdio>
11 #include <string> 12 #include <string>
12 13
13 #include "base/strings/utf_string_conversion_utils.h" 14 #include "base/strings/utf_string_conversion_utils.h"
14 15
15 namespace url { 16 namespace url {
16 17
17 namespace { 18 namespace {
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 for (int i = 0; i < written; ++i) { 424 for (int i = 0; i < written; ++i) {
424 buffer[i] = static_cast<base::char16>(temp[i]); 425 buffer[i] = static_cast<base::char16>(temp[i]);
425 } 426 }
426 buffer[written] = '\0'; 427 buffer[written] = '\0';
427 return 0; 428 return 0;
428 } 429 }
429 430
430 #endif // !WIN32 431 #endif // !WIN32
431 432
432 } // namespace url 433 } // namespace url
OLDNEW
« no previous file with comments | « url/url_canon_internal.h ('k') | url/url_canon_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698