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

Unified Diff: chrome/browser/policy/configuration_policy_provider_mac.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
Index: chrome/browser/policy/configuration_policy_provider_mac.cc
===================================================================
--- chrome/browser/policy/configuration_policy_provider_mac.cc (revision 62861)
+++ chrome/browser/policy/configuration_policy_provider_mac.cc (working copy)
@@ -5,7 +5,7 @@
#include "chrome/browser/policy/configuration_policy_provider_mac.h"
#include "base/logging.h"
-#include "base/scoped_cftyperef.h"
+#include "base/mac/scoped_cftyperef.h"
#include "base/sys_string_conversions.h"
namespace policy {
@@ -26,9 +26,9 @@
for (PolicyValueMap::const_iterator current = mapping.begin();
current != mapping.end(); ++current) {
- scoped_cftyperef<CFStringRef> name(
+ base::mac::ScopedCFTypeRef<CFStringRef> name(
base::SysUTF8ToCFStringRef(current->name));
- scoped_cftyperef<CFPropertyListRef> value(
+ base::mac::ScopedCFTypeRef<CFPropertyListRef> value(
preferences_->CopyAppValue(name, kCFPreferencesCurrentApplication));
if (!value.get())
continue;
« no previous file with comments | « chrome/browser/file_path_watcher_mac.cc ('k') | chrome/browser/policy/configuration_policy_provider_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698