Index: components/password_manager/core/browser/login_database_win.cc |
diff --git a/components/password_manager/core/browser/login_database_win.cc b/components/password_manager/core/browser/login_database_win.cc |
index 19fd7dfe2438f7e5b8b89998d21bad77c8435d8b..2b2b2725573c21466fb57fe6cb1a674e94548c9a 100644 |
--- a/components/password_manager/core/browser/login_database_win.cc |
+++ b/components/password_manager/core/browser/login_database_win.cc |
@@ -9,17 +9,19 @@ |
namespace password_manager { |
+// static |
LoginDatabase::EncryptionResult LoginDatabase::EncryptedString( |
const base::string16& plain_text, |
- std::string* cipher_text) const { |
+ std::string* cipher_text) { |
if (OSCrypt::EncryptString16(plain_text, cipher_text)) |
return ENCRYPTION_RESULT_SUCCESS; |
return ENCRYPTION_RESULT_ITEM_FAILURE; |
} |
+// static |
LoginDatabase::EncryptionResult LoginDatabase::DecryptedString( |
const std::string& cipher_text, |
- base::string16* plain_text) const { |
+ base::string16* plain_text) { |
if (OSCrypt::DecryptString16(cipher_text, plain_text)) |
return ENCRYPTION_RESULT_SUCCESS; |
return ENCRYPTION_RESULT_ITEM_FAILURE; |