| Index: chrome/browser/password_manager/login_database_posix.cc
|
| diff --git a/chrome/browser/password_manager/login_database_posix.cc b/chrome/browser/password_manager/login_database_posix.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b33e747c89fa5c22f1dbdb96fe754a87c909e8d9
|
| --- /dev/null
|
| +++ b/chrome/browser/password_manager/login_database_posix.cc
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "base/string_util.h"
|
| +#include "chrome/browser/password_manager/login_database.h"
|
| +
|
| +// TODO: Actually encrypt passwords on Linux.
|
| +
|
| +std::string LoginDatabase::EncryptedString(const string16& plain_text)
|
| + const {
|
| + return UTF16ToASCII(plain_text);
|
| +}
|
| +
|
| +string16 LoginDatabase::DecryptedString(const std::string& cipher_text)
|
| + const {
|
| + return ASCIIToUTF16(cipher_text);
|
| +}
|
|
|