Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/browser/password_manager/login_database_mac.h

Issue 1567022: Implement LoginDatabase on all platforms. (Closed)
Patch Set: Update Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/login_database.cc ('k') | chrome/browser/password_manager/login_database_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698