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

Unified Diff: chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc

Issue 2701313002: Adds a modal dialog implementation of the settings reset prompt. (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/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc
diff --git a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc
index 4b27e8ce68e9520b3029b015f68e16bb35e70c22..7d684ef72871fd9f4cbb0956c31404828d55a6d1 100644
--- a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc
+++ b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config_unittest.cc
@@ -49,13 +49,6 @@ class SettingsResetPromptConfigTest : public ::testing::Test {
base::test::ScopedFeatureList scoped_feature_list_;
};
-TEST_F(SettingsResetPromptConfigTest, IsPromptEnabled) {
- EXPECT_FALSE(SettingsResetPromptConfig::IsPromptEnabled());
-
- SetFeatureParams(GetDefaultFeatureParams());
- EXPECT_TRUE(SettingsResetPromptConfig::IsPromptEnabled());
-}
-
TEST_F(SettingsResetPromptConfigTest, Create) {
ASSERT_FALSE(SettingsResetPromptConfig::IsPromptEnabled());

Powered by Google App Engine
This is Rietveld 408576698