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

Side by Side Diff: base/mac/foundation_util.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/cocoa_protocols.h ('k') | base/mac/launchd.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_MAC_FOUNDATION_UTIL_H_ 5 #ifndef BASE_MAC_FOUNDATION_UTIL_H_
6 #define BASE_MAC_FOUNDATION_UTIL_H_ 6 #define BASE_MAC_FOUNDATION_UTIL_H_
7 #pragma once
8 7
9 #include <CoreFoundation/CoreFoundation.h> 8 #include <CoreFoundation/CoreFoundation.h>
10 9
11 #include <string> 10 #include <string>
12 #include <vector> 11 #include <vector>
13 12
14 #include "base/base_export.h" 13 #include "base/base_export.h"
15 #include "base/logging.h" 14 #include "base/logging.h"
16 #include "base/mac/scoped_cftyperef.h" 15 #include "base/mac/scoped_cftyperef.h"
17 16
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 // by using the NSToCFCast methods above. 328 // by using the NSToCFCast methods above.
330 // e.g. LOG(INFO) << base::mac::NSToCFCast(@"foo"); 329 // e.g. LOG(INFO) << base::mac::NSToCFCast(@"foo");
331 // Operator << can not be overloaded for ObjectiveC types as the compiler 330 // Operator << can not be overloaded for ObjectiveC types as the compiler
332 // can not distinguish between overloads for id with overloads for void*. 331 // can not distinguish between overloads for id with overloads for void*.
333 BASE_EXPORT extern std::ostream& operator<<(std::ostream& o, 332 BASE_EXPORT extern std::ostream& operator<<(std::ostream& o,
334 const CFErrorRef err); 333 const CFErrorRef err);
335 BASE_EXPORT extern std::ostream& operator<<(std::ostream& o, 334 BASE_EXPORT extern std::ostream& operator<<(std::ostream& o,
336 const CFStringRef str); 335 const CFStringRef str);
337 336
338 #endif // BASE_MAC_FOUNDATION_UTIL_H_ 337 #endif // BASE_MAC_FOUNDATION_UTIL_H_
OLDNEW
« no previous file with comments | « base/mac/cocoa_protocols.h ('k') | base/mac/launchd.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698