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

Unified Diff: components/autofill/core/common/form_field_data_unittest.cc

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: components/autofill/core/common/form_field_data_unittest.cc
diff --git a/components/autofill/core/common/form_field_data_unittest.cc b/components/autofill/core/common/form_field_data_unittest.cc
index 7f4ef09f2d2e6901e285848f78e9efa45ac1e21f..1f3d7203a012d0d785385195984220400ae75b0e 100644
--- a/components/autofill/core/common/form_field_data_unittest.cc
+++ b/components/autofill/core/common/form_field_data_unittest.cc
@@ -13,9 +13,9 @@ namespace autofill {
TEST(FormFieldDataTest, SerializeAndDeserialize) {
FormFieldData data;
- data.label = ASCIIToUTF16("label");
- data.name = ASCIIToUTF16("name");
- data.value = ASCIIToUTF16("value");
+ data.label = base::ASCIIToUTF16("label");
+ data.name = base::ASCIIToUTF16("name");
+ data.value = base::ASCIIToUTF16("value");
data.form_control_type = "password";
data.autocomplete_attribute = "off";
data.max_length = 200;
@@ -25,10 +25,10 @@ TEST(FormFieldDataTest, SerializeAndDeserialize) {
data.is_focusable = true;
data.should_autocomplete = false;
data.text_direction = base::i18n::RIGHT_TO_LEFT;
- data.option_values.push_back(ASCIIToUTF16("First"));
- data.option_values.push_back(ASCIIToUTF16("Second"));
- data.option_contents.push_back(ASCIIToUTF16("First"));
- data.option_contents.push_back(ASCIIToUTF16("Second"));
+ data.option_values.push_back(base::ASCIIToUTF16("First"));
+ data.option_values.push_back(base::ASCIIToUTF16("Second"));
+ data.option_contents.push_back(base::ASCIIToUTF16("First"));
+ data.option_contents.push_back(base::ASCIIToUTF16("Second"));
Pickle pickle;
SerializeFormFieldData(data, &pickle);
« no previous file with comments | « components/autofill/core/common/form_field_data.cc ('k') | components/autofill/core/common/password_form.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698