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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm

Issue 85863003: Change DetailOutputMap to FieldValueMap (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
index 6f4f3d7d6bbf7599360919f13821bbf55585e3d9..58afd8e53c7fb00f6aa35969720bbe98106feb80 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
@@ -102,7 +102,7 @@ void AutofillDialogCocoa::FillSection(DialogSection section,
}
void AutofillDialogCocoa::GetUserInput(DialogSection section,
- DetailOutputMap* output) {
+ FieldValueMap* output) {
[sheet_delegate_ getInputs:output forSection:section];
}
@@ -156,9 +156,9 @@ void AutofillDialogCocoa::CancelForTesting() {
string16 AutofillDialogCocoa::GetTextContentsOfInput(const DetailInput& input) {
for (size_t i = SECTION_MIN; i <= SECTION_MAX; ++i) {
DialogSection section = static_cast<DialogSection>(i);
- DetailOutputMap contents;
+ FieldValueMap contents;
[sheet_delegate_ getInputs:&contents forSection:section];
- DetailOutputMap::const_iterator it = contents.find(&input);
+ FieldValueMap::const_iterator it = contents.find(input.type);
if (it != contents.end())
return it->second;
}

Powered by Google App Engine
This is Rietveld 408576698