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

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: fix tests 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 234b551b4b07f332d34d2fd176522df456d9f5ef..db08bb510e3a07777bc4d4f5427fed97bcb619a4 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm
@@ -99,7 +99,7 @@ void AutofillDialogCocoa::FillSection(DialogSection section,
}
void AutofillDialogCocoa::GetUserInput(DialogSection section,
- DetailOutputMap* output) {
+ FieldValueMap* output) {
[sheet_delegate_ getInputs:output forSection:section];
}
@@ -153,9 +153,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