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

Unified Diff: chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h

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.h
diff --git a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h
index a2676ec50eff9b176b099b58d323239a167370dc..ffdaab651fd55698cbab41e1aeee42b7a19104c5 100644
--- a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h
+++ b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_config.h
@@ -19,15 +19,12 @@ class GURL;
namespace safe_browsing {
-// Exposed for testing.
extern const base::Feature kSettingsResetPrompt;
// Encapsulates the state of the reset prompt experiment as well as
// associated data.
class SettingsResetPromptConfig {
public:
- // Returns true if the settings reset prompt study is enabled.
- static bool IsPromptEnabled();
// Factory method for creating instances of SettingsResetPromptConfig.
// Returns nullptr if |IsPromptEnabled()| is false or if something is wrong
// with the config parameters.

Powered by Google App Engine
This is Rietveld 408576698