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

Side by Side Diff: base/string_number_conversions.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « base/string16.cc ('k') | base/string_piece.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/string_number_conversions.h" 5 #include <_wctype.h>
6 #include <ctype.h>
7 #include <i386/types.h>
8 #include <stddef.h>
9 #include <sys/errno.h>
10 #include <limits>
11 #include <string>
12 #include <vector>
6 13
7 #include <errno.h> 14 #include "base/basictypes.h"
8 #include <stdlib.h>
9
10 #include <limits>
11
12 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/string16.h"
13 #include "base/third_party/dmg_fp/dmg_fp.h" 17 #include "base/third_party/dmg_fp/dmg_fp.h"
14 #include "base/utf_string_conversions.h"
15 18
16 namespace base { 19 namespace base {
17 20
18 namespace { 21 namespace {
19 22
20 template <typename STR, typename INT, typename UINT, bool NEG> 23 template <typename STR, typename INT, typename UINT, bool NEG>
21 struct IntToStringT { 24 struct IntToStringT {
22 // This is to avoid a compiler warning about unary minus on unsigned type. 25 // This is to avoid a compiler warning about unary minus on unsigned type.
23 // For example, say you had the following code: 26 // For example, say you had the following code:
24 // template <typename INT> 27 // template <typename INT>
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 end, 528 end,
526 output); 529 output);
527 } 530 }
528 531
529 bool HexStringToBytes(const std::string& input, std::vector<uint8>* output) { 532 bool HexStringToBytes(const std::string& input, std::vector<uint8>* output) {
530 return HexStringToBytesT(input, output); 533 return HexStringToBytesT(input, output);
531 } 534 }
532 535
533 } // namespace base 536 } // namespace base
534 537
OLDNEW
« no previous file with comments | « base/string16.cc ('k') | base/string_piece.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698