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

Unified Diff: components/password_manager/core/browser/login_database_mac.cc

Issue 2959173002: Update error code to ITEM_FAILURE for MAC decrypted the password.
Patch Set: Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/login_database_mac.cc
diff --git a/components/password_manager/core/browser/login_database_mac.cc b/components/password_manager/core/browser/login_database_mac.cc
index ffaa1c344411a93f8b44dbf998b238a36bd397a6..44b43ee0c194b5358ba5ac6a0961680ae3928117 100644
--- a/components/password_manager/core/browser/login_database_mac.cc
+++ b/components/password_manager/core/browser/login_database_mac.cc
@@ -23,7 +23,7 @@ LoginDatabase::EncryptionResult LoginDatabase::DecryptedString(
base::string16* plain_text) {
return OSCrypt::DecryptString16(cipher_text, plain_text)
? ENCRYPTION_RESULT_SUCCESS
- : ENCRYPTION_RESULT_SERVICE_FAILURE;
+ : ENCRYPTION_RESULT_ITEM_FAILURE;
}
} // namespace password_manager
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698