Chromium Code Reviews| Index: chrome/browser/ui/autofill/autofill_dialog_models.h |
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_models.h b/chrome/browser/ui/autofill/autofill_dialog_models.h |
| index a710e6364a054b1f3e51bb30a8c81ec518889a95..045c6b203c97b99cb789df51d5500e55b0fda792 100644 |
| --- a/chrome/browser/ui/autofill/autofill_dialog_models.h |
| +++ b/chrome/browser/ui/autofill/autofill_dialog_models.h |
| @@ -10,7 +10,9 @@ |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| +#include "base/memory/scoped_vector.h" |
| #include "base/string16.h" |
| +#include "chrome/browser/autofill/autofill_country.h" |
|
Ilya Sherman
2013/02/26 00:31:13
nit: Can you forward-declare this?
|
| #include "ui/base/models/combobox_model.h" |
| #include "ui/base/models/simple_menu_model.h" |
| @@ -112,10 +114,11 @@ class CountryComboboxModel : public ui::ComboboxModel { |
| // ui::Combobox implementation: |
| virtual int GetItemCount() const OVERRIDE; |
| virtual string16 GetItemAt(int index) OVERRIDE; |
| + virtual int GetDefaultIndex() const OVERRIDE; |
| private: |
| // The list of all countries. |
| - std::vector<std::string> country_codes_; |
| + ScopedVector<AutofillCountry> countries_; |
| DISALLOW_COPY_AND_ASSIGN(CountryComboboxModel); |
| }; |