| 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_PASSWORD_STORE_MAC_H_ |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ |
| 7 |
| 8 #include "base/scoped_ptr.h" |
| 9 #include "chrome/browser/password_manager/password_store.h" |
| 10 |
| 11 class MacKeychain; |
| 12 |
| 13 class PasswordStoreMac : public PasswordStore { |
| 14 public: |
| 15 // Takes ownership of |keychain|, which must not be NULL. |
| 16 explicit PasswordStoreMac(MacKeychain* keychain); |
| 17 virtual ~PasswordStoreMac() {} |
| 18 |
| 19 private: |
| 20 void AddLoginImpl(const PasswordForm& form); |
| 21 void UpdateLoginImpl(const PasswordForm& form); |
| 22 void RemoveLoginImpl(const PasswordForm& form); |
| 23 void GetLoginsImpl(GetLoginsRequest* request); |
| 24 |
| 25 scoped_ptr<MacKeychain> keychain_; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); |
| 28 }; |
| 29 |
| 30 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ |
| OLD | NEW |