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

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

Issue 2705773002: [Autofill] Move country combo box model from chrome to component. (Closed)
Patch Set: Created 3 years, 10 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 438835389b21accc78de0aec942ab095f8f5b0a8..689a1a7423fc401b2d887501ac64e62467706d4e 100644
--- a/chrome/browser/ui/autofill/country_combobox_model_unittest.cc
+++ b/chrome/browser/ui/autofill/country_combobox_model_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/autofill/country_combobox_model.h"
+#include "components/autofill/core/browser/country_combobox_model.h"
#include <memory>
@@ -31,7 +31,8 @@ class CountryComboboxModelTest : public testing::Test {
SigninManagerFactory::GetForProfile(&profile_), false);
manager_.set_timezone_country_code("KR");
model_.reset(new CountryComboboxModel());
- model_->SetCountries(manager_, base::Callback<bool(const std::string&)>());
+ model_->SetCountries(manager_, base::Callback<bool(const std::string&)>(),
+ g_browser_process->GetApplicationLocale());
Mathieu 2017/02/21 00:57:19 It seems like we are testing "KR" - Korea, above.
MAD 2017/02/21 15:56:18 It's a bit weird that it works with the browser pr
}
TestPersonalDataManager* manager() { return &manager_; }

Powered by Google App Engine
This is Rietveld 408576698