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

Unified Diff: components/autofill/core/browser/region_combobox_model.h

Issue 2951743002: Merge-60[Payments] Make state combobox def. value work with state abbrv. (Closed)
Patch Set: Created 3 years, 6 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/ui/views/payments/shipping_address_editor_view_controller_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/region_combobox_model.h
diff --git a/components/autofill/core/browser/region_combobox_model.h b/components/autofill/core/browser/region_combobox_model.h
index d148e53737e031b4b89fe2affdc15e12ad2d4a54..e6a89b29fe31c451fbc54d299dbaa274e9a5f5cf 100644
--- a/components/autofill/core/browser/region_combobox_model.h
+++ b/components/autofill/core/browser/region_combobox_model.h
@@ -43,6 +43,10 @@ class RegionComboboxModel : public ui::ComboboxModel {
bool failed_to_load_data() const { return failed_to_load_data_; }
+ const std::vector<std::pair<std::string, std::string>>& GetRegions() const {
+ return regions_;
+ }
+
// ui::ComboboxModel implementation:
int GetItemCount() const override;
base::string16 GetItemAt(int index) override;
« no previous file with comments | « chrome/browser/ui/views/payments/shipping_address_editor_view_controller_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698