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

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

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/mac/scoped_launch_data.h ('k') | base/mac/scoped_nsexception_enabler.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_NSAUTORELEASE_POOL_H_ 5 #ifndef BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_
6 #define BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_ 6 #define BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_
7 #pragma once
8 7
9 #include "base/base_export.h" 8 #include "base/base_export.h"
10 #include "base/basictypes.h" 9 #include "base/basictypes.h"
11 10
12 #if defined(__OBJC__) 11 #if defined(__OBJC__)
13 @class NSAutoreleasePool; 12 @class NSAutoreleasePool;
14 #else // __OBJC__ 13 #else // __OBJC__
15 class NSAutoreleasePool; 14 class NSAutoreleasePool;
16 #endif // __OBJC__ 15 #endif // __OBJC__
17 16
(...skipping 19 matching lines...) Expand all
37 NSAutoreleasePool* autorelease_pool_; 36 NSAutoreleasePool* autorelease_pool_;
38 37
39 private: 38 private:
40 DISALLOW_COPY_AND_ASSIGN(ScopedNSAutoreleasePool); 39 DISALLOW_COPY_AND_ASSIGN(ScopedNSAutoreleasePool);
41 }; 40 };
42 41
43 } // namespace mac 42 } // namespace mac
44 } // namespace base 43 } // namespace base
45 44
46 #endif // BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_ 45 #endif // BASE_MAC_SCOPED_NSAUTORELEASE_POOL_H_
OLDNEW
« no previous file with comments | « base/mac/scoped_launch_data.h ('k') | base/mac/scoped_nsexception_enabler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698