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

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

Issue 155451: Support individual Keychain item deletion (Closed)
Patch Set: Created 11 years, 5 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
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
7 7
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "chrome/browser/password_manager/password_store.h" 9 #include "chrome/browser/password_manager/password_store.h"
10 10
(...skipping 16 matching lines...) Expand all
27 void GetLoginsImpl(GetLoginsRequest* request, 27 void GetLoginsImpl(GetLoginsRequest* request,
28 const webkit_glue::PasswordForm& form); 28 const webkit_glue::PasswordForm& form);
29 void GetAllLoginsImpl(GetLoginsRequest* request); 29 void GetAllLoginsImpl(GetLoginsRequest* request);
30 void GetAllAutofillableLoginsImpl(GetLoginsRequest* request); 30 void GetAllAutofillableLoginsImpl(GetLoginsRequest* request);
31 31
32 // Adds the given form to the Keychain if it's something we want to store 32 // Adds the given form to the Keychain if it's something we want to store
33 // there (i.e., not a blacklist entry). Returns true if the operation 33 // there (i.e., not a blacklist entry). Returns true if the operation
34 // succeeded (either we added successfully, or we didn't need to). 34 // succeeded (either we added successfully, or we didn't need to).
35 bool AddToKeychainIfNecessary(const webkit_glue::PasswordForm& form); 35 bool AddToKeychainIfNecessary(const webkit_glue::PasswordForm& form);
36 36
37 // Returns true if our database contains a form that exactly matches the given
38 // keychain form.
39 bool DatabaseHasFormMatchingKeychainForm(
40 const webkit_glue::PasswordForm& form);
41
37 scoped_ptr<MacKeychain> keychain_; 42 scoped_ptr<MacKeychain> keychain_;
38 scoped_ptr<LoginDatabaseMac> login_metadata_db_; 43 scoped_ptr<LoginDatabaseMac> login_metadata_db_;
39 44
40 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac); 45 DISALLOW_COPY_AND_ASSIGN(PasswordStoreMac);
41 }; 46 };
42 47
43 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_ 48 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_STORE_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/keychain_mock_mac.cc ('k') | chrome/browser/password_manager/password_store_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698