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

Unified Diff: chrome/browser/ui/webui/options/reset_profile_settings_handler.cc

Issue 23450021: Profile Reset dialog: the new section with detailed feedback information (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/ui/webui/options/reset_profile_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/reset_profile_settings_handler.cc b/chrome/browser/ui/webui/options/reset_profile_settings_handler.cc
index 923db391def65fd4eb92836612c116470269aa37..b11f981e93a5e3ec1174354bbebe5a6f1dd14832 100644
--- a/chrome/browser/ui/webui/options/reset_profile_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/reset_profile_settings_handler.cc
@@ -23,8 +23,10 @@
#include "ui/base/l10n/l10n_util.h"
namespace {
+
const char kResetProfileSettingsLearnMoreUrl[] =
"https://support.google.com/chrome/?p=ui_reset_settings";
+
} // namespace
namespace options {
@@ -112,6 +114,13 @@ void ResetProfileSettingsHandler::OnResetProfileSettingsDone() {
}
void ResetProfileSettingsHandler::OnShowResetProfileDialog(const ListValue*) {
+ DictionaryValue flashInfo;
+ flashInfo.Set("feedbackInfo", GetReadableFeedback(
+ ResettableSettingsSnapshot(Profile::FromWebUI(web_ui()))));
+ web_ui()->CallJavascriptFunction(
+ "ResetProfileSettingsOverlay.setFeedbackInfo",
+ flashInfo);
+
if (brandcode_.empty())
return;
config_fetcher_.reset(new BrandcodeConfigFetcher(

Powered by Google App Engine
This is Rietveld 408576698