Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: extensions/common/api/printer_provider_internal.idl

Issue 1148383002: Add onGetUsbPrinterInfoRequested event to printerProvider API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch away from NOTREACHED() and document API expectations. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/common/api/printer_provider_internal.idl
diff --git a/extensions/common/api/printer_provider_internal.idl b/extensions/common/api/printer_provider_internal.idl
index dba73cde84590f45a239c34095f4225ff2776acb..d34e472ffff57f7d8fe076b46976f7efb9e8f399 100644
--- a/extensions/common/api/printer_provider_internal.idl
+++ b/extensions/common/api/printer_provider_internal.idl
@@ -39,6 +39,13 @@ namespace printerProviderInternal {
void reportPrinters(long requestId,
optional printerProvider.PrinterInfo[] printers);
+ // Runs callback to printerProvider.onUsbAccessGranted event.
+ // |requestId|: Parameter identifying the event instance for which the
+ // callback is run.
+ // |printerInfo|: Printer information reported by the extension.
+ void reportUsbPrinterInfo(long requestId,
+ optional printerProvider.PrinterInfo printerInfo);
+
// Runs callback to printerProvider.onGetCapabilityRequested event.
// |requestId|: Parameter identifying the event instance for which the
// callback is run.

Powered by Google App Engine
This is Rietveld 408576698