Index: chrome/browser/search/hotword_service_unittest.cc |
diff --git a/chrome/browser/search/hotword_service_unittest.cc b/chrome/browser/search/hotword_service_unittest.cc |
index 91707410748686ef3346c4088a270057a23121a0..a6033610c815be1cc62a926b8548e337554070db 100644 |
--- a/chrome/browser/search/hotword_service_unittest.cc |
+++ b/chrome/browser/search/hotword_service_unittest.cc |
@@ -101,10 +101,12 @@ TEST_F(HotwordServiceTest, IsHotwordAllowedLocale) { |
EXPECT_TRUE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
SetApplicationLocale(static_cast<Profile*>(profile.get()), "en_us"); |
EXPECT_TRUE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
+ SetApplicationLocale(static_cast<Profile*>(profile.get()), "en_gb"); |
+ EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
SetApplicationLocale(static_cast<Profile*>(profile.get()), "de_DE"); |
- EXPECT_TRUE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
+ EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
SetApplicationLocale(static_cast<Profile*>(profile.get()), "fr_fr"); |
- EXPECT_TRUE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
+ EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
// Test that incognito even with a valid locale and valid field trial |
// still returns false. |