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

Unified Diff: chrome/browser/cocoa/shell_dialogs_mac.mm

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
Index: chrome/browser/cocoa/shell_dialogs_mac.mm
===================================================================
--- chrome/browser/cocoa/shell_dialogs_mac.mm (revision 62861)
+++ chrome/browser/cocoa/shell_dialogs_mac.mm (working copy)
@@ -15,7 +15,7 @@
#import "base/cocoa_protocols_mac.h"
#include "base/logging.h"
#include "base/mac_util.h"
-#include "base/scoped_cftyperef.h"
+#include "base/mac/scoped_cftyperef.h"
#import "base/scoped_nsobject.h"
#include "base/sys_string_conversions.h"
#include "grit/generated_resources.h"
@@ -308,11 +308,11 @@
file_types->extensions[type];
DCHECK(!ext_list.empty());
NSString* type_extension = base::SysUTF8ToNSString(ext_list[0]);
- scoped_cftyperef<CFStringRef> uti(
+ base::mac::ScopedCFTypeRef<CFStringRef> uti(
UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension,
(CFStringRef)type_extension,
NULL));
- scoped_cftyperef<CFStringRef> description(
+ base::mac::ScopedCFTypeRef<CFStringRef> description(
UTTypeCopyDescription(uti.get()));
type_description =
« no previous file with comments | « chrome/browser/cocoa/page_info_window_mac.mm ('k') | chrome/browser/cocoa/ssl_client_certificate_selector.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698