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

Unified Diff: base/mac/scoped_cftyperef.h

Issue 17500005: Move scoped_nsobject from base/memory to base/mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments 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
Index: base/mac/scoped_cftyperef.h
diff --git a/base/mac/scoped_cftyperef.h b/base/mac/scoped_cftyperef.h
index c6ca46a4f20f5a108cd92cb14761c16406ac98ac..f09fcbf3d7846192ec42b3a70310fc5167e89b98 100644
--- a/base/mac/scoped_cftyperef.h
+++ b/base/mac/scoped_cftyperef.h
@@ -12,7 +12,6 @@
#include "base/memory/scoped_policy.h"
namespace base {
-namespace mac {
// ScopedCFTypeRef<> is patterned after scoped_ptr<>, but maintains ownership
// of a CoreFoundation object: any object that can be represented as a
@@ -102,7 +101,12 @@ class ScopedCFTypeRef {
CFT object_;
};
+// TODO(thakis): Remove this once all clients use base::ScopedCFTypeRef
+// directly.
+namespace mac {
+using base::ScopedCFTypeRef;
} // namespace mac
+
} // namespace base
#endif // BASE_MAC_SCOPED_CFTYPEREF_H_
« base/base.gypi ('K') | « base/base.gypi ('k') | base/mac/scoped_nsobject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698