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

Side by Side Diff: base/mac/cocoa_protocols.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/closure_blocks_leopard_compat.h ('k') | base/mac/foundation_util.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) 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_COCOA_PROTOCOLS_MAC_H_ 5 #ifndef BASE_COCOA_PROTOCOLS_MAC_H_
6 #define BASE_COCOA_PROTOCOLS_MAC_H_ 6 #define BASE_COCOA_PROTOCOLS_MAC_H_
7 #pragma once
8 7
9 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
10 9
11 // GTM also maintinas a list of empty protocols, but only the ones the library 10 // GTM also maintinas a list of empty protocols, but only the ones the library
12 // requires. Augment that below. 11 // requires. Augment that below.
13 #import "third_party/GTM/GTMDefines.h" 12 #import "third_party/GTM/GTMDefines.h"
14 13
15 // The Mac OS X 10.6 SDK introduced new protocols used for delegates. These 14 // The Mac OS X 10.6 SDK introduced new protocols used for delegates. These
16 // protocol defintions were not present in earlier releases of the Mac OS X 15 // protocol defintions were not present in earlier releases of the Mac OS X
17 // SDK. In order to support building against the new SDK, which requires 16 // SDK. In order to support building against the new SDK, which requires
(...skipping 29 matching lines...) Expand all
47 #if !defined(MAC_OS_X_VERSION_10_8) || \ 46 #if !defined(MAC_OS_X_VERSION_10_8) || \
48 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_8 47 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_8
49 48
50 DEFINE_EMPTY_PROTOCOL(NSUserNotificationCenterDelegate) 49 DEFINE_EMPTY_PROTOCOL(NSUserNotificationCenterDelegate)
51 50
52 #endif // MAC_OS_X_VERSION_10_6 51 #endif // MAC_OS_X_VERSION_10_6
53 52
54 #undef DEFINE_EMPTY_PROTOCOL 53 #undef DEFINE_EMPTY_PROTOCOL
55 54
56 #endif // BASE_COCOA_PROTOCOLS_MAC_H_ 55 #endif // BASE_COCOA_PROTOCOLS_MAC_H_
OLDNEW
« no previous file with comments | « base/mac/closure_blocks_leopard_compat.h ('k') | base/mac/foundation_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698