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

Unified Diff: chrome/browser/password_manager/password_store_mac_internal.h

Issue 164332: Use real creator code for Keychain items (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/password_manager/password_store_mac.cc ('k') | chrome/common/chrome_paths.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/password_store_mac_internal.h
===================================================================
--- chrome/browser/password_manager/password_store_mac_internal.h (revision 23061)
+++ chrome/browser/password_manager/password_store_mac_internal.h (working copy)
@@ -101,6 +101,13 @@
bool SetKeychainItemCreatorCode(const SecKeychainItemRef& keychain_item,
OSType creator_code);
+ // Returns the creator code to be used for a Keychain search, depending on
+ // whether this object was instructed to search only for items it created.
+ // If searches should be restricted in this way, the application-specific
+ // creator code will be returned. Otherwise, 0 will be returned, indicating
+ // a search of all items, regardless of creator.
+ OSType CreatorCodeForSearch();
+
const MacKeychain* keychain_;
// If true, Keychain searches are restricted to items created by Chrome.
« no previous file with comments | « chrome/browser/password_manager/password_store_mac.cc ('k') | chrome/common/chrome_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698