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

Unified Diff: chrome/browser/importer/ie_importer.cc

Issue 3259005: Remove the default argument from RegKey::ReadValue. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: browser fixes Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/registry.h ('k') | chrome/browser/platform_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/ie_importer.cc
diff --git a/chrome/browser/importer/ie_importer.cc b/chrome/browser/importer/ie_importer.cc
index 469f1d654675c523adb1532cd3821c64346e78b1..59aad60891201dd6cb0a34eb61bbc98ec44caf3b 100644
--- a/chrome/browser/importer/ie_importer.cc
+++ b/chrome/browser/importer/ie_importer.cc
@@ -261,11 +261,13 @@ void IEImporter::ImportPasswordsIE7() {
while (reg_iterator.Valid() && !cancelled()) {
// Get the size of the encrypted data.
DWORD value_len = 0;
- if (key.ReadValue(reg_iterator.Name(), NULL, &value_len) && value_len) {
+ if (key.ReadValue(reg_iterator.Name(), NULL, &value_len, NULL) &&
+ value_len) {
// Query the encrypted data.
std::vector<unsigned char> value;
value.resize(value_len);
- if (key.ReadValue(reg_iterator.Name(), &value.front(), &value_len)) {
+ if (key.ReadValue(reg_iterator.Name(), &value.front(), &value_len,
+ NULL)) {
IE7PasswordInfo password_info;
password_info.url_hash = reg_iterator.Name();
password_info.encrypted_data = value;
« no previous file with comments | « base/registry.h ('k') | chrome/browser/platform_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698