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

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

Issue 2709093006: Adding new shipping address editor view to payment flow. (Closed)
Patch Set: Bot failure fix Created 3 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
Index: components/autofill/core/browser/country_combobox_model.h
diff --git a/components/autofill/core/browser/country_combobox_model.h b/components/autofill/core/browser/country_combobox_model.h
index b3d90c3abf6d45197ec5b6bbe1a5883710b5ab9e..4e36d91ba459e71b941a7957f21e7f774c0bfeb4 100644
--- a/components/autofill/core/browser/country_combobox_model.h
+++ b/components/autofill/core/browser/country_combobox_model.h
@@ -38,6 +38,8 @@ class CountryComboboxModel : public ui::ComboboxModel {
base::string16 GetItemAt(int index) override;
bool IsItemSeparatorAt(int index) override;
+ // The list of countries always has the default country at the top as well as
+ // within the sorted vector.
const CountryVector& countries() const { return countries_; }
// Returns the default country code for this model.
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill/core/browser/personal_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698