Index: chrome/browser/resources/print_preview/native_layer.js |
diff --git a/chrome/browser/resources/print_preview/native_layer.js b/chrome/browser/resources/print_preview/native_layer.js |
index f4e69846a4ae5aa07fba85ee84478b423555b11d..411b1907e4c60b1485557e271f9847625e01b5a6 100644 |
--- a/chrome/browser/resources/print_preview/native_layer.js |
+++ b/chrome/browser/resources/print_preview/native_layer.js |
@@ -92,7 +92,6 @@ cr.define('print_preview', function() { |
global.onDidPreviewPage = this.onDidPreviewPage_.bind(this); |
global.updatePrintPreview = this.onUpdatePrintPreview_.bind(this); |
global.onDidGetAccessToken = this.onDidGetAccessToken_.bind(this); |
- global.onPrivetPrintFailed = this.onPrivetPrintFailed_.bind(this); |
global.onEnableManipulateSettingsForTest = |
this.onEnableManipulateSettingsForTest_.bind(this); |
global.printPresetOptionsFromDocument = |
@@ -732,18 +731,6 @@ cr.define('print_preview', function() { |
this.eventTarget_.dispatchEvent(printPresetOptionsEvent); |
}, |
- /** |
- * @param {string} http_error The HTTP response code or -1 if not an HTTP |
- * error. |
- * @private |
- */ |
- onPrivetPrintFailed_: function(http_error) { |
- var privetPrintFailedEvent = |
- new Event(NativeLayer.EventType.PRIVET_PRINT_FAILED); |
- privetPrintFailedEvent.httpError = http_error; |
- this.eventTarget_.dispatchEvent(privetPrintFailedEvent); |
- }, |
- |
/** |
* Called when Chrome reports that attempt to resolve a provisional |
* destination failed. |