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

Unified Diff: chrome/browser/policy/policy_loader_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 | « chrome/browser/mac/security_wrappers.h ('k') | chrome/browser/policy/policy_loader_mac_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_loader_mac.cc
diff --git a/chrome/browser/policy/policy_loader_mac.cc b/chrome/browser/policy/policy_loader_mac.cc
index 761a7a6f767f1f85d0d0cf0c9e9b7e4251d1969a..0cbb5190b78bf4a62d0877f061453255a371df3e 100644
--- a/chrome/browser/policy/policy_loader_mac.cc
+++ b/chrome/browser/policy/policy_loader_mac.cc
@@ -23,7 +23,7 @@
#include "policy/policy_constants.h"
using base::mac::CFCast;
-using base::mac::ScopedCFTypeRef;
+using base::ScopedCFTypeRef;
namespace policy {
@@ -108,9 +108,9 @@ scoped_ptr<PolicyBundle> PolicyLoaderMac::Load() {
bool policy_present = false;
const PolicyDefinitionList::Entry* current;
for (current = policy_list_->begin; current != policy_list_->end; ++current) {
- base::mac::ScopedCFTypeRef<CFStringRef> name(
+ base::ScopedCFTypeRef<CFStringRef> name(
base::SysUTF8ToCFStringRef(current->name));
- base::mac::ScopedCFTypeRef<CFPropertyListRef> value(
+ base::ScopedCFTypeRef<CFPropertyListRef> value(
preferences_->CopyAppValue(name, kCFPreferencesCurrentApplication));
if (!value.get())
continue;
@@ -234,7 +234,7 @@ void PolicyLoaderMac::LoadPolicyForComponent(
if (!schema)
return;
- base::mac::ScopedCFTypeRef<CFStringRef> bundle_id(
+ base::ScopedCFTypeRef<CFStringRef> bundle_id(
base::SysUTF8ToCFStringRef(bundle_id_string));
preferences_->AppSynchronize(bundle_id);
@@ -246,9 +246,9 @@ void PolicyLoaderMac::LoadPolicyForComponent(
for (PolicySchemaMap::const_iterator it = map->begin();
it != map->end(); ++it) {
- base::mac::ScopedCFTypeRef<CFStringRef> pref_name(
+ base::ScopedCFTypeRef<CFStringRef> pref_name(
base::SysUTF8ToCFStringRef(it->first));
- base::mac::ScopedCFTypeRef<CFPropertyListRef> value(
+ base::ScopedCFTypeRef<CFPropertyListRef> value(
preferences_->CopyAppValue(pref_name, bundle_id));
if (!value.get())
continue;
« no previous file with comments | « chrome/browser/mac/security_wrappers.h ('k') | chrome/browser/policy/policy_loader_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698