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

Unified Diff: chrome/test/chromedriver/util.cc

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
« no previous file with comments | « chrome/test/chromedriver/keycode_text_conversion_x.cc ('k') | chrome/test/perf/generate_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/util.cc
diff --git a/chrome/test/chromedriver/util.cc b/chrome/test/chromedriver/util.cc
index 911de01bae9ba902ccb80b9ffad41173ba7a57ef..39dd768c0d3835edb475ebb10530d03dbcb8e440 100644
--- a/chrome/test/chromedriver/util.cc
+++ b/chrome/test/chromedriver/util.cc
@@ -29,10 +29,10 @@ std::string GenerateId() {
namespace {
-Status FlattenStringArray(const base::ListValue* src, string16* dest) {
- string16 keys;
+Status FlattenStringArray(const base::ListValue* src, base::string16* dest) {
+ base::string16 keys;
for (size_t i = 0; i < src->GetSize(); ++i) {
- string16 keys_list_part;
+ base::string16 keys_list_part;
if (!src->GetString(i, &keys_list_part))
return Status(kUnknownError, "keys should be a string");
for (size_t j = 0; j < keys_list_part.size(); ++j) {
@@ -54,7 +54,7 @@ Status SendKeysOnWindow(
const base::ListValue* key_list,
bool release_modifiers,
int* sticky_modifiers) {
- string16 keys;
+ base::string16 keys;
Status status = FlattenStringArray(key_list, &keys);
if (status.IsError())
return status;
« no previous file with comments | « chrome/test/chromedriver/keycode_text_conversion_x.cc ('k') | chrome/test/perf/generate_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698