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

Side by Side Diff: rlz/lib/string_utils.h

Issue 10659022: Revert 144071 - Add a regenerate button to regenerate the password in Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « rlz/lib/rlz_value_store.h ('k') | rlz/lib/string_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // String manipulation functions used in the RLZ library. 5 // String manipulation functions used in the RLZ library.
6 6
7 #ifndef RLZ_LIB_STRING_UTILS_H_ 7 #ifndef RLZ_LIB_STRING_UTILS_H_
8 #define RLZ_LIB_STRING_UTILS_H_ 8 #define RLZ_LIB_STRING_UTILS_H_
9 9
10 #include <string> 10 #include <string>
11 11
12 namespace rlz_lib { 12 namespace rlz_lib {
13 13
14 bool IsAscii(char letter); 14 bool IsAscii(char letter);
15 15
16 bool BytesToString(const unsigned char* data, 16 bool BytesToString(const unsigned char* data,
17 int data_len, 17 int data_len,
18 std::string* string); 18 std::string* string);
19 19
20 bool GetHexValue(char letter, int* value); 20 bool GetHexValue(char letter, int* value);
21 21
22 int HexStringToInteger(const char* text); 22 int HexStringToInteger(const char* text);
23 23
24 }; // namespace 24 }; // namespace
25 25
26 #endif // RLZ_LIB_STRING_UTILS_H_ 26 #endif // RLZ_LIB_STRING_UTILS_H_
OLDNEW
« no previous file with comments | « rlz/lib/rlz_value_store.h ('k') | rlz/lib/string_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698