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

Side by Side Diff: rlz/win/lib/machine_id_win.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, 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/win/lib/machine_deal_test.cc ('k') | rlz/win/lib/process_info.h » ('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 <windows.h> 5 #include <windows.h>
6 #include <Sddl.h> // For ConvertSidToStringSidW. 6 #include <Sddl.h> // For ConvertSidToStringSidW.
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 *volume_id = 0; 121 *volume_id = 0;
122 if (!GetSystemVolumeSerialNumber(volume_id)) { 122 if (!GetSystemVolumeSerialNumber(volume_id)) {
123 ASSERT_STRING("GetMachineId: Failed to retrieve volume serial number"); 123 ASSERT_STRING("GetMachineId: Failed to retrieve volume serial number");
124 *volume_id = 0; 124 *volume_id = 0;
125 } 125 }
126 126
127 return true; 127 return true;
128 } 128 }
129 129
130 } // namespace rlz_lib 130 } // namespace rlz_lib
OLDNEW
« no previous file with comments | « rlz/win/lib/machine_deal_test.cc ('k') | rlz/win/lib/process_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698