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

Unified Diff: chrome/test/chromedriver/keycode_text_conversion_mac.mm

Issue 94013004: Add base:: to string16s in chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try again Created 7 years 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
Index: chrome/test/chromedriver/keycode_text_conversion_mac.mm
diff --git a/chrome/test/chromedriver/keycode_text_conversion_mac.mm b/chrome/test/chromedriver/keycode_text_conversion_mac.mm
index ed0019070492f9b14057d21525830ec2c5b897ee..a5abaa6d92403133876f7cd1309285a925fdecf6 100644
--- a/chrome/test/chromedriver/keycode_text_conversion_mac.mm
+++ b/chrome/test/chromedriver/keycode_text_conversion_mac.mm
@@ -64,7 +64,7 @@ bool ConvertKeyCodeToText(
&char_count,
&character);
if (status == noErr && char_count == 1 && !std::iscntrl(character)) {
- string16 text16;
+ base::string16 text16;
text16.push_back(character);
*text = UTF16ToUTF8(text16);
return true;
@@ -76,7 +76,7 @@ bool ConvertKeyCodeToText(
bool ConvertCharToKeyCode(
char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers,
std::string* error_msg) {
- string16 key_string;
+ base::string16 key_string;
key_string.push_back(key);
std::string key_string_utf8 = UTF16ToUTF8(key_string);
bool found_code = false;
« no previous file with comments | « chrome/test/chromedriver/key_converter_unittest.cc ('k') | chrome/test/chromedriver/keycode_text_conversion_x.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698