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

Side by Side Diff: base/crypto/cssm_init.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 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 | « base/command_line.cc ('k') | base/crypto/encryptor_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/CoreFoundatio n.framework/Headers/CFBase.h>
6 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.fram ework/Headers/SecBase.h>
7 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.fram ework/Headers/cssmapi.h>
8 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.fram ework/Headers/cssmapple.h>
9 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.fram ework/Headers/cssmconfig.h>
10 #include </Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.fram ework/Headers/cssmtype.h>
11 #include <stdbool.h>
12 #include <stdlib.h>
13 #include <string>
14
15 #include "base/basictypes.h"
5 #include "base/crypto/cssm_init.h" 16 #include "base/crypto/cssm_init.h"
6
7 #include <Security/SecBase.h>
8
9 #include "base/logging.h" 17 #include "base/logging.h"
10 #include "base/singleton.h" 18 #include "base/singleton.h"
11 #include "base/synchronization/lock.h" 19 #include "base/synchronization/lock.h"
12 #include "base/sys_string_conversions.h" 20 #include "base/sys_string_conversions.h"
13 21
14 // When writing crypto code for Mac OS X, you may find the following 22 // When writing crypto code for Mac OS X, you may find the following
15 // documentation useful: 23 // documentation useful:
16 // - Common Security: CDSA and CSSM, Version 2 (with corrigenda) 24 // - Common Security: CDSA and CSSM, Version 2 (with corrigenda)
17 // http://www.opengroup.org/security/cdsa.htm 25 // http://www.opengroup.org/security/cdsa.htm
18 // - Apple Cryptographic Service Provider Functional Specification 26 // - Apple Cryptographic Service Provider Functional Specification
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } else { 160 } else {
153 LOG(ERROR) << fn_name << " returned " << err; 161 LOG(ERROR) << fn_name << " returned " << err;
154 } 162 }
155 } 163 }
156 164
157 base::Lock& GetMacSecurityServicesLock() { 165 base::Lock& GetMacSecurityServicesLock() {
158 return SecurityServicesSingleton::GetInstance()->lock(); 166 return SecurityServicesSingleton::GetInstance()->lock();
159 } 167 }
160 168
161 } // namespace base 169 } // namespace base
OLDNEW
« no previous file with comments | « base/command_line.cc ('k') | base/crypto/encryptor_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698