| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_MAC_H_ | |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_MAC_H_ | |
| 7 | |
| 8 #include "chrome/browser/password_manager/login_database.h" | |
| 9 | |
| 10 #include <string> | |
| 11 | |
| 12 // A trivial subclass of LoginDatabase that nulls out passwords, so that we can | |
| 13 // use the rest of the database as a suplemental storage system to complement | |
| 14 // Keychain, providing storage of fields Keychain doesn't allow for. | |
| 15 class LoginDatabaseMac : public LoginDatabase { | |
| 16 public: | |
| 17 LoginDatabaseMac() {} | |
| 18 virtual ~LoginDatabaseMac() {} | |
| 19 | |
| 20 protected: | |
| 21 // Stub implementations that always return an empty string. | |
| 22 virtual std::string EncryptedString(const string16& plain_text) const; | |
| 23 virtual string16 DecryptedString(const std::string& cipher_text) const; | |
| 24 }; | |
| 25 | |
| 26 | |
| 27 #endif // CHROME_BROWSER_PASSWORD_MANAGER_LOGIN_DATABASE_MAC_H_ | |
| OLD | NEW |