From df0ca6c858762b101bf424ff6c0522409fa195fc Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sun, 17 Oct 2010 04:09:06 +0000 Subject: Move scoped_cftyperef from base to base/mac, use the new namespace, and name it properly (scoped_cftyperef -> ScopedCFTypeRef). TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3855001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62887 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/app/breakpad_mac.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/app/breakpad_mac.mm') diff --git a/chrome/app/breakpad_mac.mm b/chrome/app/breakpad_mac.mm index dc9c1ad..54d32c0 100644 --- a/chrome/app/breakpad_mac.mm +++ b/chrome/app/breakpad_mac.mm @@ -14,8 +14,8 @@ #include "base/file_util.h" #import "base/logging.h" #include "base/mac_util.h" +#include "base/mac/scoped_cftyperef.h" #include "base/path_service.h" -#include "base/scoped_cftyperef.h" #import "base/scoped_nsautorelease_pool.h" #include "base/sys_string_conversions.h" #import "breakpad/src/client/mac/Framework/Breakpad.h" @@ -63,7 +63,7 @@ void InitCrashReporter() { if (is_browser) { // Since the configuration management infrastructure is possibly not // initialized when this code runs, read the policy preference directly. - scoped_cftyperef key( + base::mac::ScopedCFTypeRef key( base::SysUTF8ToCFStringRef(policy::key::kMetricsReportingEnabled)); Boolean key_valid; Boolean metrics_reporting_enabled = CFPreferencesGetAppBooleanValue(key, -- cgit v1.1