diff options
author | rogerta <rogerta@chromium.org> | 2015-04-16 21:16:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-17 04:16:59 +0000 |
commit | a1e15d29e401465bacd0681f256af567e7b8242f (patch) | |
tree | 5225a6498d80fa5bdaf6639cd51f9fe1ac3eef32 /chrome/browser/ui/autofill/country_combobox_model_unittest.cc | |
parent | 950576043d18caee3fc8bb28dfc432c3d6adcbda (diff) | |
download | chromium_src-a1e15d29e401465bacd0681f256af567e7b8242f.zip chromium_src-a1e15d29e401465bacd0681f256af567e7b8242f.tar.gz chromium_src-a1e15d29e401465bacd0681f256af567e7b8242f.tar.bz2 |
Replace SetAuthenticatedUsername with SetAuthenticatedAccountId.
Depends on https://codereview.chromium.org/964553002/
BUG=341408
Review URL: https://codereview.chromium.org/964563002
Cr-Commit-Position: refs/heads/master@{#325594}
Diffstat (limited to 'chrome/browser/ui/autofill/country_combobox_model_unittest.cc')
-rw-r--r-- | chrome/browser/ui/autofill/country_combobox_model_unittest.cc | 6 |
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&)>()); |