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

Side by Side Diff: chrome/browser/keychain_mac.cc

Issue 115658: First phase of Mac Keychain integration. For the overall plan, see the design... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/keychain_mac.h ('k') | chrome/browser/password_manager/password_store_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Name: svn:eol-style
+ LF
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 #include "chrome/browser/keychain_mac.h"
6
7 OSStatus MacKeychain::ItemCopyAttributesAndData(
8 SecKeychainItemRef itemRef, SecKeychainAttributeInfo *info,
9 SecItemClass *itemClass, SecKeychainAttributeList **attrList,
10 UInt32 *length, void **outData) const {
11 return SecKeychainItemCopyAttributesAndData(itemRef, info, itemClass,
12 attrList, length, outData);
13 }
14
15 OSStatus MacKeychain::ItemFreeAttributesAndData(
16 SecKeychainAttributeList *attrList, void *data) const {
17 return SecKeychainItemFreeAttributesAndData(attrList, data);
18 }
19
20 OSStatus MacKeychain::SearchCreateFromAttributes(
21 CFTypeRef keychainOrArray, SecItemClass itemClass,
22 const SecKeychainAttributeList *attrList,
23 SecKeychainSearchRef *searchRef) const {
24 return SecKeychainSearchCreateFromAttributes(keychainOrArray, itemClass,
25 attrList, searchRef);
26 }
27
28 OSStatus MacKeychain::SearchCopyNext(SecKeychainSearchRef searchRef,
29 SecKeychainItemRef *itemRef) const {
30 return SecKeychainSearchCopyNext(searchRef, itemRef);
31 }
32
33 void MacKeychain::Free(CFTypeRef ref) const {
34 if (ref) {
35 CFRelease(ref);
36 }
37 }
OLDNEW
« no previous file with comments | « chrome/browser/keychain_mac.h ('k') | chrome/browser/password_manager/password_store_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698