diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-22 19:55:26 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-22 19:55:26 +0000 |
commit | d2a10d134c864765e7015a62f20642f398adc721 (patch) | |
tree | cd5474cc66b613b9a4640e948fd1646da112c311 /base/scoped_cftyperef.h | |
parent | e05212240814d77101f6a677fc38411ec05fd177 (diff) | |
download | chromium_src-d2a10d134c864765e7015a62f20642f398adc721.zip chromium_src-d2a10d134c864765e7015a62f20642f398adc721.tar.gz chromium_src-d2a10d134c864765e7015a62f20642f398adc721.tar.bz2 |
Impl of platform mime typing for Mac.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1238 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/scoped_cftyperef.h')
-rw-r--r-- | base/scoped_cftyperef.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/base/scoped_cftyperef.h b/base/scoped_cftyperef.h index f4623fe..23d2690 100644 --- a/base/scoped_cftyperef.h +++ b/base/scoped_cftyperef.h @@ -27,10 +27,11 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#ifndef BASE_SCOPED_CFTYPEREF_H__ -#define BASE_SCOPED_CFTYPEREF_H__ +#ifndef BASE_SCOPED_CFTYPEREF_H_ +#define BASE_SCOPED_CFTYPEREF_H_ #include <CoreFoundation/CoreFoundation.h> +#include "base/basictypes.h" // scoped_cftyperef<> is patterned after scoped_ptr<>, but maintains ownership // of a CoreFoundation object: any object that can be represented as a @@ -91,7 +92,7 @@ class scoped_cftyperef { private: CFT object_; - DISALLOW_EVIL_CONSTRUCTORS(scoped_cftyperef); + DISALLOW_COPY_AND_ASSIGN(scoped_cftyperef); }; -#endif // BASE_SCOPED_CFTYPEREF_H__ +#endif // BASE_SCOPED_CFTYPEREF_H_ |