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

Unified Diff: chrome/browser/ui/autofill/country_combobox_model_unittest.cc

Issue 964563002: Replace SetAuthenticatedUsername with SetAuthenticatedAccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@priv
Patch Set: rebased Created 5 years, 8 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: chrome/browser/ui/autofill/country_combobox_model_unittest.cc
diff --git a/chrome/browser/ui/autofill/country_combobox_model_unittest.cc b/chrome/browser/ui/autofill/country_combobox_model_unittest.cc
index c243d8e9b277f6d9eb2944575dc7bee40fcd8711..1952c14c88c0d36d007c35d339bdf5985d01593a 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&)>());

Powered by Google App Engine
This is Rietveld 408576698