| Index: base/mac/scoped_nsobject.h
|
| diff --git a/base/memory/scoped_nsobject.h b/base/mac/scoped_nsobject.h
|
| similarity index 96%
|
| copy from base/memory/scoped_nsobject.h
|
| copy to base/mac/scoped_nsobject.h
|
| index a5b6dbf86560672218c1f1ab8b6a217ed4f75909..8d7bd4a27bd37c2844704e8beb2f0ef3bb849469 100644
|
| --- a/base/memory/scoped_nsobject.h
|
| +++ b/base/mac/scoped_nsobject.h
|
| @@ -2,13 +2,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef BASE_MEMORY_SCOPED_NSOBJECT_H_
|
| -#define BASE_MEMORY_SCOPED_NSOBJECT_H_
|
| +#ifndef BASE_MAC_SCOPED_NSOBJECT_H_
|
| +#define BASE_MAC_SCOPED_NSOBJECT_H_
|
|
|
| #import <Foundation/Foundation.h>
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
|
|
| +namespace base {
|
| +
|
| // scoped_nsobject<> is patterned after scoped_ptr<>, but maintains ownership
|
| // of an NSObject subclass object. Style deviations here are solely for
|
| // compatibility with scoped_ptr<>'s interface, with which everyone is already
|
| @@ -148,4 +150,7 @@ class scoped_nsobject<NSAutoreleasePool> {
|
| explicit scoped_nsobject(NSAutoreleasePool* object = nil);
|
| DISALLOW_COPY_AND_ASSIGN(scoped_nsobject);
|
| };
|
| -#endif // BASE_MEMORY_SCOPED_NSOBJECT_H_
|
| +
|
| +} // namespace base
|
| +
|
| +#endif // BASE_MAC_SCOPED_NSOBJECT_H_
|
|
|