Index: chrome/browser/resources/options/autofill_options.js |
diff --git a/chrome/browser/resources/options/autofill_options.js b/chrome/browser/resources/options/autofill_options.js |
index ce8dd1fd5d91f713524209199183d29fd700c679..d90469280d88e2cf85caf9a8fd8f11841d2cd2d7 100644 |
--- a/chrome/browser/resources/options/autofill_options.js |
+++ b/chrome/browser/resources/options/autofill_options.js |
@@ -175,34 +175,6 @@ cr.define('options', function() { |
}, |
/** |
- * For local Autofill data, this function causes the AutofillOptionsHandler |
- * to call showEditAddressOverlay(). For Wallet data, the user is |
- * redirected to the Wallet web interface. |
- * @param {Object} entry The relevant entry in data model. |
- * @private |
- */ |
- loadAddressEditor_: function(entry) { |
- if (entry.isLocal) |
- chrome.send('loadAddressEditor', [entry.guid]); |
- else |
- window.open(loadTimeData.getString('manageWalletAddressesUrl')); |
- }, |
- |
- /** |
- * For local Autofill data, this function causes the AutofillOptionsHandler |
- * to call showEditCreditCardOverlay(). For Wallet data, the user is |
- * redirected to the Wallet web interface. |
- * @param {Object} entry The relevant entry in data model. |
- * @private |
- */ |
- loadCreditCardEditor_: function(entry) { |
- if (entry.isLocal) |
- chrome.send('loadCreditCardEditor', [entry.guid]); |
- else |
- window.open(loadTimeData.getString('manageWalletPaymentMethodsUrl')); |
- }, |
- |
- /** |
* Shows the 'Edit address' overlay, using the data in |address| to fill the |
* input fields. |address| is a list with one item, an associative array |
* that contains the address data. |
@@ -252,14 +224,6 @@ cr.define('options', function() { |
AutofillOptions.getInstance().removeData_(guid, metricsAction); |
}; |
- AutofillOptions.loadAddressEditor = function(entry) { |
- AutofillOptions.getInstance().loadAddressEditor_(entry); |
- }; |
- |
- AutofillOptions.loadCreditCardEditor = function(entry) { |
- AutofillOptions.getInstance().loadCreditCardEditor_(entry); |
- }; |
- |
AutofillOptions.editAddress = function(address) { |
AutofillOptions.getInstance().showEditAddressOverlay_(address); |
}; |