Index: chrome/browser/resources/options/browser_options.js |
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js |
index affabb84d75e3a7647f0903ae0c57294f62b2546..51e498d00e49b82d2cb30ddf0c6010550447f9f5 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -466,6 +466,13 @@ cr.define('options', function() { |
}; |
updateGpuRestartButton(); |
} |
+ |
+ // Reset profile settings section. |
+ $('reset-profile-settings-section').hidden = |
+ !loadTimeData.getValue('enableResetProfileSettingsSection'); |
+ $('reset-profile-settings').onclick = function(event) { |
+ OptionsPage.navigateToPage('resetProfileSettings'); |
+ }; |
}, |
/** @override */ |