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

Unified Diff: net/base/keygen_handler_mac.cc

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with fixed off-by-1 in git-clang-format Created 7 years, 6 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 | « media/audio/mac/audio_manager_mac.cc ('k') | net/base/network_change_notifier_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/keygen_handler_mac.cc
diff --git a/net/base/keygen_handler_mac.cc b/net/base/keygen_handler_mac.cc
index eb31703453c1628481419cbbdecdd8d3d03922e1..63ea84751aa1d926cc7fb215edf03d5431567204 100644
--- a/net/base/keygen_handler_mac.cc
+++ b/net/base/keygen_handler_mac.cc
@@ -113,7 +113,7 @@ std::string KeygenHandler::GenKeyAndSignChallenge() {
if (url_.has_host()) {
// TODO(davidben): Use something like "Key generated for
// example.com", but localize it.
- base::mac::ScopedCFTypeRef<CFStringRef> label(
+ base::ScopedCFTypeRef<CFStringRef> label(
base::SysUTF8ToCFStringRef(url_.host()));
// Create an initial access object to set the SecAccessRef. This
// sets a label on the Keychain dialogs. Pass NULL as the second
@@ -139,7 +139,7 @@ std::string KeygenHandler::GenKeyAndSignChallenge() {
crypto::LogCSSMError("SecKeychainItemExpor", err);
goto failure;
}
- base::mac::ScopedCFTypeRef<CFDataRef> scoped_key_data(key_data);
+ base::ScopedCFTypeRef<CFDataRef> scoped_key_data(key_data);
// Create an ASN.1 encoder.
err = SecAsn1CoderCreate(&coder);
@@ -234,7 +234,7 @@ static OSStatus CreateRSAKeyPair(int size_in_bits,
crypto::LogCSSMError("SecKeychainCopyDefault", err);
return err;
}
- base::mac::ScopedCFTypeRef<SecKeychainRef> scoped_keychain(keychain);
+ base::ScopedCFTypeRef<SecKeychainRef> scoped_keychain(keychain);
{
base::AutoLock locked(crypto::GetMacSecurityServicesLock());
err = SecKeyCreatePair(
« no previous file with comments | « media/audio/mac/audio_manager_mac.cc ('k') | net/base/network_change_notifier_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698