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

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

Issue 2701313002: Adds a modal dialog implementation of the settings reset prompt. (Closed)
Patch Set: Fix constness in mock test class 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_model.cc
diff --git a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.cc b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.cc
index db7d2112bf9c36e7db691e5eb62e22bead1b9fd5..1c86448e40f73ac35ad572ce1eff4e43880804ee 100644
--- a/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.cc
+++ b/chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.cc
@@ -176,6 +176,10 @@ SettingsResetPromptModel::CreateForTesting(
SettingsResetPromptModel::~SettingsResetPromptModel() {}
+Profile* SettingsResetPromptModel::profile() const {
+ return profile_;
+}
+
SettingsResetPromptConfig* SettingsResetPromptModel::config() const {
return prompt_config_.get();
}

Powered by Google App Engine
This is Rietveld 408576698