1 // Copyright (c) 2009 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.
5 #include "chrome/browser/password_manager/login_database.h"
7 // On the Mac, the LoginDatabase nulls out passwords, so that we can use the
8 // rest of the database as a suplemental storage system to complement Keychain,
9 // providing storage of fields Keychain doesn't allow.
11 LoginDatabase::EncryptionResult LoginDatabase::EncryptedString(
12 const string16& plain_text,
13 std::string* cipher_text) const {
14 *cipher_text = std::string();
15 return ENCRYPTION_RESULT_SUCCESS;
18 LoginDatabase::EncryptionResult LoginDatabase::DecryptedString(
19 const std::string& cipher_text,
20 string16* plain_text) const {
21 *plain_text = string16();
22 return ENCRYPTION_RESULT_SUCCESS;