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 c057e664676b66ad2ec28ab6b45d3225f547c714..595c60d1f19a06b4e3866970f6a860e864614602 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -1285,6 +1285,15 @@ cr.define('options', function() { |
'There should always be a current profile, but none found.'); |
}, |
+ /** |
+ * Propmpts user to confirm deletion of the profile for this browser |
+ * window. |
+ * @private |
+ */ |
+ deleteCurrentProfile_: function() { |
+ ManageProfileOverlay.showDeleteDialog(this.getCurrentProfile_()); |
+ }, |
+ |
setNativeThemeButtonEnabled_: function(enabled) { |
var button = $('themes-native-button'); |
if (button) |
@@ -1733,6 +1742,7 @@ cr.define('options', function() { |
//Forward public APIs to private implementations. |
[ |
'addBluetoothDevice', |
+ 'deleteCurrentProfile', |
'enableCertificateButton', |
'enableFactoryResetSection', |
'getCurrentProfile', |