Chromium Code Reviews| Index: base/string_number_conversions.h |
| diff --git a/base/string_number_conversions.h b/base/string_number_conversions.h |
| index 54f05b0954327dfdc2c91404a77b7973b079f58c..19b281c40f505070eb5178202ef5e9b331e2c242 100644 |
| --- a/base/string_number_conversions.h |
| +++ b/base/string_number_conversions.h |
| @@ -95,6 +95,8 @@ BASE_EXPORT std::string HexEncode(const void* bytes, size_t size); |
| // Best effort conversion, see StringToInt above for restrictions. |
| BASE_EXPORT bool HexStringToInt(const StringPiece& input, int* output); |
| +BASE_EXPORT bool HexStringToInt64(const StringPiece& input, int64* output); |
|
Albert Bodenhamer
2012/11/28 23:50:56
You should probably add a new test in base/string_
|
| + |
| // Similar to the previous functions, except that output is a vector of bytes. |
| // |*output| will contain as many bytes as were successfully parsed prior to the |
| // error. There is no overflow, but input.size() must be evenly divisible by 2. |
| @@ -105,4 +107,3 @@ BASE_EXPORT bool HexStringToBytes(const std::string& input, |
| } // namespace base |
| #endif // BASE_STRING_NUMBER_CONVERSIONS_H_ |
|
Albert Bodenhamer
2012/11/28 23:50:56
Looks like a whitespace change.
ahutter
2012/11/29 20:52:38
Yeah, the .vimrc file Google provides is doing som
|
| - |