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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_common.cc

Issue 137723008: Remove DataModelWrapper from android build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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
Index: chrome/browser/ui/autofill/autofill_dialog_common.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_common.cc b/chrome/browser/ui/autofill/autofill_dialog_common.cc
index a6b9b1cb84064bcbc79561f6f2b0755099a44252..0c4ef13ecee695e701b7023c790066d4be274e65 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_common.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_common.cc
@@ -276,5 +276,13 @@ base::string16 GetHardcodedValueForType(ServerFieldType type) {
return base::string16();
}
+std::vector<ServerFieldType> TypesFromInputs(const DetailInputs& inputs) {
+ std::vector<ServerFieldType> types;
+ for (size_t i = 0; i < inputs.size(); ++i) {
+ types.push_back(inputs[i].type);
+ }
+ return types;
+}
+
} // namespace common
} // namespace autofill
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_common.h ('k') | chrome/browser/ui/autofill/autofill_dialog_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698