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

Unified Diff: chrome/browser/chromeos/login/account_creation_view.cc

Issue 6625087: Convert autofill messages to use the new IPC macros (again). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | « chrome/browser/autofill/select_control_handler_unittest.cc ('k') | chrome/browser/webdata/web_database.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/account_creation_view.cc
===================================================================
--- chrome/browser/chromeos/login/account_creation_view.cc (revision 77304)
+++ chrome/browser/chromeos/login/account_creation_view.cc (working copy)
@@ -51,11 +51,11 @@
std::string user_name;
std::string domain;
for (size_t i = 0; i < form.fields.size(); i++) {
- std::string name = UTF16ToASCII(form.fields[i].name());
+ std::string name = UTF16ToASCII(form.fields[i].name);
if (name == kEmailFieldName) {
- user_name = UTF16ToASCII(form.fields[i].value());
+ user_name = UTF16ToASCII(form.fields[i].value);
} else if (name == kDomainFieldName) {
- domain = UTF16ToASCII(form.fields[i].value());
+ domain = UTF16ToASCII(form.fields[i].value);
}
}
if (!user_name.empty()) {
« no previous file with comments | « chrome/browser/autofill/select_control_handler_unittest.cc ('k') | chrome/browser/webdata/web_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698