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

Unified Diff: chrome/browser/resources/options/reset_profile_settings_overlay.js

Issue 533183002: Revert "Eliminate all code related to the AutomaticProfileResetter." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 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/resources/options/reset_profile_settings_overlay.js
diff --git a/chrome/browser/resources/options/reset_profile_settings_overlay.js b/chrome/browser/resources/options/reset_profile_settings_overlay.js
index 3dd1b7973bb5485503166b9d9feedcb5de6ddecd..60cf57d450bc067ec682ca66c4f486f1f370443f 100644
--- a/chrome/browser/resources/options/reset_profile_settings_overlay.js
+++ b/chrome/browser/resources/options/reset_profile_settings_overlay.js
@@ -6,6 +6,7 @@ cr.define('options', function() {
var Page = cr.ui.pageManager.Page;
var AutomaticSettingsResetBanner = options.AutomaticSettingsResetBanner;
+ var ResetProfileSettingsBanner = options.ResetProfileSettingsBanner;
/**
* ResetProfileSettingsOverlay class
@@ -45,6 +46,7 @@ cr.define('options', function() {
/** @override */
didShowPage: function() {
+ ResetProfileSettingsBanner.dismiss();
chrome.send('onShowResetProfileDialog');
},

Powered by Google App Engine
This is Rietveld 408576698