Index: trunk/src/chrome/browser/search/hotword_service_unittest.cc |
=================================================================== |
--- trunk/src/chrome/browser/search/hotword_service_unittest.cc (revision 278418) |
+++ trunk/src/chrome/browser/search/hotword_service_unittest.cc (working copy) |
@@ -101,12 +101,10 @@ |
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_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
+ EXPECT_TRUE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
SetApplicationLocale(static_cast<Profile*>(profile.get()), "fr_fr"); |
- EXPECT_FALSE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
+ EXPECT_TRUE(HotwordServiceFactory::IsHotwordAllowed(profile.get())); |
// Test that incognito even with a valid locale and valid field trial |
// still returns false. |