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

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

Issue 988693005: Chromium roll (https://codereview.chromium.org/976353002) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: fixed bad android build patch Created 5 years, 9 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
« no previous file with comments | « base/json/json_value_serializer_unittest.cc ('k') | base/mac/foundation_util.mm » ('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 7
8 #include <CoreFoundation/CoreFoundation.h> 8 #include <CoreFoundation/CoreFoundation.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 CF_CAST_DECL(CFNull); 289 CF_CAST_DECL(CFNull);
290 CF_CAST_DECL(CFNumber); 290 CF_CAST_DECL(CFNumber);
291 CF_CAST_DECL(CFSet); 291 CF_CAST_DECL(CFSet);
292 CF_CAST_DECL(CFString); 292 CF_CAST_DECL(CFString);
293 CF_CAST_DECL(CFURL); 293 CF_CAST_DECL(CFURL);
294 CF_CAST_DECL(CFUUID); 294 CF_CAST_DECL(CFUUID);
295 295
296 CF_CAST_DECL(CGColor); 296 CF_CAST_DECL(CGColor);
297 297
298 CF_CAST_DECL(CTFont); 298 CF_CAST_DECL(CTFont);
299 CF_CAST_DECL(CTFontDescriptor);
299 CF_CAST_DECL(CTRun); 300 CF_CAST_DECL(CTRun);
300 301
301 CF_CAST_DECL(SecACL); 302 CF_CAST_DECL(SecACL);
302 CF_CAST_DECL(SecTrustedApplication); 303 CF_CAST_DECL(SecTrustedApplication);
303 304
304 #undef CF_CAST_DECL 305 #undef CF_CAST_DECL
305 306
306 #if defined(__OBJC__) 307 #if defined(__OBJC__)
307 308
308 // ObjCCast<>() and ObjCCastStrict<>() cast a basic id to a more 309 // ObjCCast<>() and ObjCCastStrict<>() cast a basic id to a more
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 // by using the NSToCFCast methods above. 380 // by using the NSToCFCast methods above.
380 // e.g. LOG(INFO) << base::mac::NSToCFCast(@"foo"); 381 // e.g. LOG(INFO) << base::mac::NSToCFCast(@"foo");
381 // Operator << can not be overloaded for ObjectiveC types as the compiler 382 // Operator << can not be overloaded for ObjectiveC types as the compiler
382 // can not distinguish between overloads for id with overloads for void*. 383 // can not distinguish between overloads for id with overloads for void*.
383 BASE_EXPORT extern std::ostream& operator<<(std::ostream& o, 384 BASE_EXPORT extern std::ostream& operator<<(std::ostream& o,
384 const CFErrorRef err); 385 const CFErrorRef err);
385 BASE_EXPORT extern std::ostream& operator<<(std::ostream& o, 386 BASE_EXPORT extern std::ostream& operator<<(std::ostream& o,
386 const CFStringRef str); 387 const CFStringRef str);
387 388
388 #endif // BASE_MAC_FOUNDATION_UTIL_H_ 389 #endif // BASE_MAC_FOUNDATION_UTIL_H_
OLDNEW
« no previous file with comments | « base/json/json_value_serializer_unittest.cc ('k') | base/mac/foundation_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698