| Index: chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js
|
| diff --git a/chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js b/chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js
|
| index d53eb12854981bcf1e8ffe7e89717e1fa2181891..53235c78acb556401d8af3132ac8ef3bc48f8a2d 100644
|
| --- a/chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js
|
| +++ b/chrome/browser/resources/settings/printing_page/cups_printers_browser_proxy.js
|
| @@ -44,13 +44,17 @@ cr.define('settings', function() {
|
| * @param {string} printerId
|
| * @param {string} printerName
|
| */
|
| - updateCupsPrinter: function(printerId, printerName) {},
|
| + updateCupsPrinter: function(printerId, printerName, printerUri) {},
|
|
|
| /**
|
| * @param {string} printerId
|
| */
|
| removeCupsPrinter: function(printerId) {},
|
|
|
| + /**
|
| + * @param {!CupsPrinterInfo} newPrinter
|
| + */
|
| + addCupsPrinter: function(newPrinter) {},
|
| };
|
|
|
| /**
|
| @@ -67,14 +71,19 @@ cr.define('settings', function() {
|
| },
|
|
|
| /** override */
|
| - updateCupsPrinter: function(printerId, printerName) {
|
| - chrome.send('updateCupsPrinter', [printerId, printerName]);
|
| + updateCupsPrinter: function(printerId, printerName, printerUri) {
|
| + chrome.send('updateCupsPrinter', [printerId, printerName, printerUri]);
|
| },
|
|
|
| /** override */
|
| removeCupsPrinter: function(printerId) {
|
| chrome.send('removeCupsPrinter', [printerId]);
|
| },
|
| +
|
| + /** @override */
|
| + addCupsPrinter: function(newPrinter) {
|
| + chrome.send('addCupsPrinter', [newPrinter]);
|
| + },
|
| };
|
|
|
| return {
|
|
|