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

Unified Diff: base/strings/sys_string_conversions.h

Issue 2656903005: ChromeDriver: Handle key events properly on Mac (Closed)
Patch Set: changes Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/strings/sys_string_conversions_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/strings/sys_string_conversions.h
diff --git a/base/strings/sys_string_conversions.h b/base/strings/sys_string_conversions.h
index b41a2288ca9062645474373520b70238d88fb0ae..dca323204468a91a2fefdb8400ce34f297839afd 100644
--- a/base/strings/sys_string_conversions.h
+++ b/base/strings/sys_string_conversions.h
@@ -68,6 +68,8 @@ BASE_EXPORT CFStringRef SysUTF16ToCFStringRef(const string16& utf16);
// Same, but returns an autoreleased NSString.
BASE_EXPORT NSString* SysUTF8ToNSString(const std::string& utf8);
BASE_EXPORT NSString* SysUTF16ToNSString(const string16& utf16);
+BASE_EXPORT NSString* SysUTF16ToNSString(const string16& utf16,
pfeldman 2017/02/10 19:39:27 string16 has a length, this is not necessary.
allada 2017/02/10 20:25:47 Done.
+ int string_length);
// Converts a CFStringRef to an STL string. Returns an empty string on failure.
BASE_EXPORT std::string SysCFStringRefToUTF8(CFStringRef ref);
« no previous file with comments | « no previous file | base/strings/sys_string_conversions_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698