1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "chrome/browser/password_manager/login_database.h" 6 7 #include "base/utf_string_conversions.h" 8 9 // TODO: Actually encrypt passwords on Linux. 10 EncryptedString(const string16 & plain_text) const11std::string LoginDatabase::EncryptedString(const string16& plain_text) 12 const { 13 return UTF16ToUTF8(plain_text); 14 } 15 DecryptedString(const std::string & cipher_text) const16string16 LoginDatabase::DecryptedString(const std::string& cipher_text) 17 const { 18 return UTF8ToUTF16(cipher_text); 19 } 20