Chromium Code Reviews| Index: chrome/test/data/webui/print_preview/native_layer_stub.js |
| diff --git a/chrome/test/data/webui/print_preview/native_layer_stub.js b/chrome/test/data/webui/print_preview/native_layer_stub.js |
| index 23e223ee290476340d88b4fde885a62d231159b4..dce4eec7dc332818c157b8e7c89a910740f65458 100644 |
| --- a/chrome/test/data/webui/print_preview/native_layer_stub.js |
| +++ b/chrome/test/data/webui/print_preview/native_layer_stub.js |
| @@ -98,8 +98,13 @@ cr.define('print_preview', function() { |
| }, |
| /** @override */ |
| - print: function() { |
| - this.methodCalled('print'); |
| + print: function( |
| + destination, printTicketStore, cloudPrintInterface, documentInfo) { |
| + var args = {"destination": destination, |
|
dpapad
2017/06/27 18:49:00
Nit1: Prefer single quotes instead of double quote
rbpotter
2017/06/28 01:14:57
Done.
|
| + "printTicketStore": printTicketStore, |
| + "cloudPrintInterface": cloudPrintInterface, |
| + "documentInfo": documentInfo }; |
| + this.methodCalled('print', args); |
| return Promise.resolve(); |
| }, |