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

Unified Diff: remoting/host/policy_hack/policy_watcher_mac.mm

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 | « remoting/host/local_input_monitor_mac.mm ('k') | remoting/host/setup/daemon_controller_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/policy_hack/policy_watcher_mac.mm
diff --git a/remoting/host/policy_hack/policy_watcher_mac.mm b/remoting/host/policy_hack/policy_watcher_mac.mm
index 82cc21912e7f7311879fb7110181d9b4f1364f19..64e7ab03865e732261cd650a9af6bfd7fd8d04fd 100644
--- a/remoting/host/policy_hack/policy_watcher_mac.mm
+++ b/remoting/host/policy_hack/policy_watcher_mac.mm
@@ -48,7 +48,7 @@ class PolicyWatcherMac : public PolicyWatcher {
for (base::DictionaryValue::Iterator i(Defaults());
!i.IsAtEnd(); i.Advance()) {
const std::string& policy_name = i.key();
- base::mac::ScopedCFTypeRef<CFStringRef> policy_key(
+ base::ScopedCFTypeRef<CFStringRef> policy_key(
base::SysUTF8ToCFStringRef(policy_name));
if (i.value().GetType() == base::DictionaryValue::TYPE_BOOLEAN) {
@@ -62,7 +62,7 @@ class PolicyWatcherMac : public PolicyWatcher {
}
if (i.value().GetType() == base::DictionaryValue::TYPE_STRING) {
- base::mac::ScopedCFTypeRef<CFPropertyListRef> property_list(
+ base::ScopedCFTypeRef<CFPropertyListRef> property_list(
CFPreferencesCopyAppValue(policy_key, policy_bundle_id));
if (property_list.get() != NULL) {
CFStringRef policy_value = base::mac::CFCast<CFStringRef>(
« no previous file with comments | « remoting/host/local_input_monitor_mac.mm ('k') | remoting/host/setup/daemon_controller_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698