| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_COUNTRY_COMBOBOX_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_COUNTRY_COMBOBOX_MODEL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_COUNTRY_COMBOBOX_MODEL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_COUNTRY_COMBOBOX_MODEL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
| 12 #include "base/string16.h" | 12 #include "base/strings/string16.h" |
| 13 #include "ui/base/models/combobox_model.h" | 13 #include "ui/base/models/combobox_model.h" |
| 14 | 14 |
| 15 namespace autofill { | 15 namespace autofill { |
| 16 | 16 |
| 17 class AutofillCountry; | 17 class AutofillCountry; |
| 18 | 18 |
| 19 // A model for countries to be used to enter addresses. | 19 // A model for countries to be used to enter addresses. |
| 20 class CountryComboboxModel : public ui::ComboboxModel { | 20 class CountryComboboxModel : public ui::ComboboxModel { |
| 21 public: | 21 public: |
| 22 CountryComboboxModel(); | 22 CountryComboboxModel(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 35 // The countries to show in the model, including NULL for entries that are | 35 // The countries to show in the model, including NULL for entries that are |
| 36 // not countries (the separator entry). | 36 // not countries (the separator entry). |
| 37 ScopedVector<AutofillCountry> countries_; | 37 ScopedVector<AutofillCountry> countries_; |
| 38 | 38 |
| 39 DISALLOW_COPY_AND_ASSIGN(CountryComboboxModel); | 39 DISALLOW_COPY_AND_ASSIGN(CountryComboboxModel); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 } // namespace autofill | 42 } // namespace autofill |
| 43 | 43 |
| 44 #endif // CHROME_BROWSER_UI_AUTOFILL_COUNTRY_COMBOBOX_MODEL_H_ | 44 #endif // CHROME_BROWSER_UI_AUTOFILL_COUNTRY_COMBOBOX_MODEL_H_ |
| OLD | NEW |