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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 1144983002: Introduce concept of provisional destinations to print preview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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: chrome/browser/ui/webui/print_preview/print_preview_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
index 35129115409cfaa7066c976ce5d801992a45e51e..e1e875b7a5b71037e8c65f5dd44761e44e8fe5b8 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -315,12 +315,12 @@ class PrintPreviewHandler
// Called when an extension reports information for a USB printer it has just
// been granted access to.
- // |extension_id|: The extension that was queried.
- // |device_id|: The id of the USB device.
+ // |provisional_destination_id|: ID used to identify the provisional print
+ // destination for the USB printer in print preview UI.
// |printer_info|: The data reported by the extension.
- void OnGotExtensionUsbPrinterInfo(const std::string& extension_id,
- int device_id,
- const base::DictionaryValue& printer_info);
+ void OnGotExtensionUsbPrinterInfo(
+ const std::string& provisional_destination_id,
+ const base::DictionaryValue& printer_info);
// Called when an extension reports the set of print capabilites for a
// printer.

Powered by Google App Engine
This is Rietveld 408576698