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

Unified Diff: chrome/browser/resources/settings/reset_page/reset_browser_proxy.js

Issue 1911573003: MD Settings: Reset profile dialog, display settings in new tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/reset_page/reset_profile_dialog.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/reset_page/reset_browser_proxy.js
diff --git a/chrome/browser/resources/settings/reset_page/reset_browser_proxy.js b/chrome/browser/resources/settings/reset_page/reset_browser_proxy.js
index 4390e04a128f7d012ad78924925c7a7639500888..c2c80b92e1546e2dd832c3d50ea45662f0248e2b 100644
--- a/chrome/browser/resources/settings/reset_page/reset_browser_proxy.js
+++ b/chrome/browser/resources/settings/reset_page/reset_browser_proxy.js
@@ -29,6 +29,13 @@ cr.define('settings', function() {
*/
onShowResetProfileDialog: function() {},
+ /**
+ * Gets the current settings (about to be reset) reported to Google for
+ * analysis.
+ * @return {!Promise<!Array<{key:string, value:string}>}
+ */
+ getReportedSettings: function() {},
+
<if expr="chromeos">
/**
* A method to be called when the reset powerwash dialog is shown.
@@ -70,6 +77,11 @@ cr.define('settings', function() {
chrome.send('onShowResetProfileDialog');
},
+ /** @override */
+ getReportedSettings: function() {
+ return cr.sendWithPromise('getReportedSettings');
+ },
+
<if expr="chromeos">
/** @override */
onPowerwashDialogShow: function() {
« no previous file with comments | « no previous file | chrome/browser/resources/settings/reset_page/reset_profile_dialog.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698