summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/autofill/country_combobox_model_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/autofill/country_combobox_model_unittest.cc')
-rw-r--r--chrome/browser/ui/autofill/country_combobox_model_unittest.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/ui/autofill/country_combobox_model_unittest.cc b/chrome/browser/ui/autofill/country_combobox_model_unittest.cc
index c243d8e..1952c14 100644
--- a/chrome/browser/ui/autofill/country_combobox_model_unittest.cc
+++ b/chrome/browser/ui/autofill/country_combobox_model_unittest.cc
@@ -6,9 +6,11 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/signin/account_tracker_service_factory.h"
#include "chrome/test/base/testing_profile.h"
#include "components/autofill/core/browser/autofill_country.h"
#include "components/autofill/core/browser/test_personal_data_manager.h"
+#include "components/signin/core/browser/account_tracker_service.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui.h"
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui_component.h"
@@ -19,7 +21,9 @@ namespace autofill {
class CountryComboboxModelTest : public testing::Test {
public:
CountryComboboxModelTest() {
- manager_.Init(NULL, profile_.GetPrefs(), false);
+ manager_.Init(
+ NULL, profile_.GetPrefs(),
+ AccountTrackerServiceFactory::GetForProfile(&profile_), false);
manager_.set_timezone_country_code("KR");
model_.reset(new CountryComboboxModel());
model_->SetCountries(manager_, base::Callback<bool(const std::string&)>());