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 29fd428e201ac13d440e740154428ce2ba71d1d5..a09b7168030c0f9eb17b3e4000b290f6e1008ad7 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -1288,6 +1288,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) |
@@ -1755,6 +1764,7 @@ cr.define('options', function() { |
//Forward public APIs to private implementations. |
[ |
'addBluetoothDevice', |
+ 'deleteCurrentProfile', |
'enableCertificateButton', |
'enableFactoryResetSection', |
'getCurrentProfile', |