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

Unified Diff: net/base/network_config_watcher_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
« no previous file with comments | « net/base/network_config_watcher_mac.h ('k') | net/base/platform_mime_util_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_config_watcher_mac.cc
===================================================================
--- net/base/network_config_watcher_mac.cc (revision 62861)
+++ net/base/network_config_watcher_mac.cc (working copy)
@@ -9,6 +9,7 @@
#include <algorithm>
#include "base/thread.h"
+#include "base/mac/scoped_cftyperef.h"
// We only post tasks to a child thread we own, so we don't need refcounting.
DISABLE_RUNNABLE_METHOD_REFCOUNT(net::NetworkConfigWatcherMac);
@@ -76,7 +77,7 @@
NULL, // This is not reference counted. No release function.
NULL, // No description for this.
};
- scoped_cftyperef<SCDynamicStoreRef> store(SCDynamicStoreCreate(
+ base::mac::ScopedCFTypeRef<SCDynamicStoreRef> store(SCDynamicStoreCreate(
NULL, CFSTR("org.chromium"), DynamicStoreCallback, &context));
run_loop_source_.reset(SCDynamicStoreCreateRunLoopSource(
NULL, store.get(), 0));
« no previous file with comments | « net/base/network_config_watcher_mac.h ('k') | net/base/platform_mime_util_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698