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

Unified Diff: components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc

Issue 1220133003: Fixed all unused-variable Clang warnings on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iaccessible2-fix-gn
Patch Set: Fix GYP build with -Wunused-variable. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc
diff --git a/components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc b/components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc
index 5eb9c821bfa1b22a763ad0f95213825cc3265918..abac32d113a4cc0f785c894f9c5120f1d4b3d153 100644
--- a/components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc
+++ b/components/autofill/core/browser/autofill_ie_toolbar_import_win_unittest.cc
@@ -70,19 +70,20 @@ ValueDescription credit_card[] = {
};
ValueDescription empty_salt = {
- L"salt", L"\x1\x2\x3\x4\x5\x6\x7\x8\x9\xA\xB\xC\xD\xE\xF\x10\x11\x12\x13\x14"
+ kSaltValue,
+ L"\x1\x2\x3\x4\x5\x6\x7\x8\x9\xA\xB\xC\xD\xE\xF\x10\x11\x12\x13\x14"
};
ValueDescription empty_password = {
- L"password_hash", L""
+ kPasswordHashValue, L""
};
ValueDescription protected_salt = {
- L"salt", L"\x4854\xB906\x9C7C\x50A6\x4376\xFD9D\x1E02"
+ kSaltValue, L"\x4854\xB906\x9C7C\x50A6\x4376\xFD9D\x1E02"
};
ValueDescription protected_password = {
- L"password_hash", L"\x18B7\xE586\x459B\x7457\xA066\x3842\x71DA"
+ kPasswordHashValue, L"\x18B7\xE586\x459B\x7457\xA066\x3842\x71DA"
};
void EncryptAndWrite(RegKey* key, const ValueDescription* value) {

Powered by Google App Engine
This is Rietveld 408576698