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

Side by Side Diff: rlz/lib/machine_id.cc

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, 6 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/machine_id.h ('k') | rlz/lib/machine_id_unittest.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 #include "rlz/lib/machine_id.h" 5 #include "rlz/lib/machine_id.h"
6 6
7 #include "base/sha1.h" 7 #include "base/sha1.h"
8 #include "rlz/lib/assert.h" 8 #include "rlz/lib/assert.h"
9 #include "rlz/lib/crc8.h" 9 #include "rlz/lib/crc8.h"
10 #include "rlz/lib/string_utils.h" 10 #include "rlz/lib/string_utils.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 kSizeWithoutChecksum, 75 kSizeWithoutChecksum,
76 &id_binary[kSizeWithoutChecksum]); 76 &id_binary[kSizeWithoutChecksum]);
77 77
78 return rlz_lib::BytesToString( 78 return rlz_lib::BytesToString(
79 id_binary.c_str(), kSizeWithoutChecksum + 1, machine_id); 79 id_binary.c_str(), kSizeWithoutChecksum + 1, machine_id);
80 } 80 }
81 81
82 } // namespace testing 82 } // namespace testing
83 83
84 } // namespace rlz_lib 84 } // namespace rlz_lib
OLDNEW
« no previous file with comments | « rlz/lib/machine_id.h ('k') | rlz/lib/machine_id_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698