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

Side by Side Diff: base/mac/scoped_nsexception_enabler.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_nsautorelease_pool.h ('k') | base/mac/scoped_sending_event.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_NSEXCEPTION_ENABLER_H_ 5 #ifndef BASE_MAC_SCOPED_NSEXCEPTION_ENABLER_H_
6 #define BASE_MAC_SCOPED_NSEXCEPTION_ENABLER_H_ 6 #define BASE_MAC_SCOPED_NSEXCEPTION_ENABLER_H_
7 #pragma once
8 7
9 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
10 9
11 #include "base/base_export.h" 10 #include "base/base_export.h"
12 #include "base/basictypes.h" 11 #include "base/basictypes.h"
13 12
14 namespace base { 13 namespace base {
15 namespace mac { 14 namespace mac {
16 15
17 // BrowserCrApplication attempts to restrict throwing of NSExceptions 16 // BrowserCrApplication attempts to restrict throwing of NSExceptions
(...skipping 27 matching lines...) Expand all
45 44
46 // Executes [target performSelector:sel] with fatal-exceptions turned 45 // Executes [target performSelector:sel] with fatal-exceptions turned
47 // off, and returns the result. If an exception is thrown during the 46 // off, and returns the result. If an exception is thrown during the
48 // perform, nil is returned. 47 // perform, nil is returned.
49 BASE_EXPORT id PerformSelectorIgnoringExceptions(NSObject* target, SEL sel); 48 BASE_EXPORT id PerformSelectorIgnoringExceptions(NSObject* target, SEL sel);
50 49
51 } // namespace mac 50 } // namespace mac
52 } // namespace base 51 } // namespace base
53 52
54 #endif // BASE_MAC_SCOPED_NSEXCEPTION_ENABLER_H_ 53 #endif // BASE_MAC_SCOPED_NSEXCEPTION_ENABLER_H_
OLDNEW
« no previous file with comments | « base/mac/scoped_nsautorelease_pool.h ('k') | base/mac/scoped_sending_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698