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

Unified Diff: components/autofill/browser/autofill_metrics_unittest.cc

Issue 13488009: Remove application locale cache in autofill code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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: components/autofill/browser/autofill_metrics_unittest.cc
===================================================================
--- components/autofill/browser/autofill_metrics_unittest.cc (revision 192175)
+++ components/autofill/browser/autofill_metrics_unittest.cc (working copy)
@@ -82,7 +82,9 @@
class TestPersonalDataManager : public PersonalDataManager {
public:
- TestPersonalDataManager() : autofill_enabled_(true) {
+ TestPersonalDataManager()
+ : PersonalDataManager("en-US"),
+ autofill_enabled_(true) {
set_metric_logger(new testing::NiceMock<MockAutofillMetrics>());
CreateTestAutofillProfiles(&web_profiles_);
}

Powered by Google App Engine
This is Rietveld 408576698