Index: base/mac/mac_util.h |
diff --git a/base/mac/mac_util.h b/base/mac/mac_util.h |
index a452a39bdd4077d13e078134873b0fa2bc5c19c4..1fc6a3d195f5294159a96259722b2d32a1e6904b 100644 |
--- a/base/mac/mac_util.h |
+++ b/base/mac/mac_util.h |
@@ -16,6 +16,7 @@ |
#import <Foundation/Foundation.h> |
#else // __OBJC__ |
class NSImage; |
+class NSString; |
#endif // __OBJC__ |
namespace base { |
@@ -120,6 +121,9 @@ BASE_EXPORT bool WasLaunchedAsHiddenLoginItem(); |
// an error, or true otherwise. |
BASE_EXPORT bool RemoveQuarantineAttribute(const FilePath& file_path); |
+// Return true if 's' is empty or contains at least one printable character |
+BASE_EXPORT bool StringIsPrintable(NSString* s); |
dtapuska
2015/11/23 14:42:08
This is too generic in the base..
Since you are o
|
+ |
// Run-time OS version checks. Use these instead of |
// base::SysInfo::OperatingSystemVersionNumbers. Prefer the "OrEarlier" and |
// "OrLater" variants to those that check for a specific version, unless you |