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

Unified Diff: net/base/cert_test_util.cc

Issue 3855001: Move scoped_cftyperef from base to base/mac, use the new namespace, and name ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | « gfx/canvas_skia_mac.mm ('k') | net/base/keygen_handler_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_test_util.cc
===================================================================
--- net/base/cert_test_util.cc (revision 62861)
+++ net/base/cert_test_util.cc (working copy)
@@ -15,7 +15,7 @@
#include "base/nss_util.h"
#elif defined(OS_MACOSX)
#include <Security/Security.h>
-#include "base/scoped_cftyperef.h"
+#include "base/mac/scoped_cftyperef.h"
#endif
#include "base/file_util.h"
@@ -104,7 +104,7 @@
static_cast<CFIndex>(rawcert.size()));
if (!pem)
return NULL;
- scoped_cftyperef<CFDataRef> scoped_pem(pem);
+ base::mac::ScopedCFTypeRef<CFDataRef> scoped_pem(pem);
SecExternalFormat input_format = kSecFormatUnknown;
SecExternalItemType item_type = kSecItemTypeUnknown;
@@ -112,7 +112,7 @@
if (SecKeychainItemImport(pem, NULL, &input_format, &item_type, 0, NULL, NULL,
&cert_array))
return NULL;
- scoped_cftyperef<CFArrayRef> scoped_cert_array(cert_array);
+ base::mac::ScopedCFTypeRef<CFArrayRef> scoped_cert_array(cert_array);
if (!CFArrayGetCount(cert_array))
return NULL;
« no previous file with comments | « gfx/canvas_skia_mac.mm ('k') | net/base/keygen_handler_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698