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

Side by Side Diff: base/mac/scoped_cftyperef.h

Issue 17618003: mac: Remove ScopedCFTypeRef from base::mac::. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ios 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/files/file_path.cc ('k') | base/message_loop/message_pump_io_ios.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_MAC_SCOPED_CFTYPEREF_H_ 5 #ifndef BASE_MAC_SCOPED_CFTYPEREF_H_
6 #define BASE_MAC_SCOPED_CFTYPEREF_H_ 6 #define BASE_MAC_SCOPED_CFTYPEREF_H_
7 7
8 #include <CoreFoundation/CoreFoundation.h> 8 #include <CoreFoundation/CoreFoundation.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 CFT release() WARN_UNUSED_RESULT { 94 CFT release() WARN_UNUSED_RESULT {
95 CFT temp = object_; 95 CFT temp = object_;
96 object_ = NULL; 96 object_ = NULL;
97 return temp; 97 return temp;
98 } 98 }
99 99
100 private: 100 private:
101 CFT object_; 101 CFT object_;
102 }; 102 };
103 103
104 // TODO(thakis): Remove this once all clients use base::ScopedCFTypeRef
105 // directly.
106 namespace mac {
107 using base::ScopedCFTypeRef;
108 } // namespace mac
109
110 } // namespace base 104 } // namespace base
111 105
112 #endif // BASE_MAC_SCOPED_CFTYPEREF_H_ 106 #endif // BASE_MAC_SCOPED_CFTYPEREF_H_
OLDNEW
« no previous file with comments | « base/files/file_path.cc ('k') | base/message_loop/message_pump_io_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698