| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |