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

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

Issue 1006583003: Add title property to chrome.printerProvider pritn job (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/printer_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/printer_handler.h b/chrome/browser/ui/webui/print_preview/printer_handler.h
index d51c22ea4c4906f1de615aee078ea0e5c037e202..7882e4967025c2689eea89cd7bb025e88837c2d8 100644
--- a/chrome/browser/ui/webui/print_preview/printer_handler.h
+++ b/chrome/browser/ui/webui/print_preview/printer_handler.h
@@ -10,6 +10,7 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/strings/string16.h"
namespace base {
class DictionaryValue;
@@ -61,6 +62,7 @@ class PrinterHandler {
// Starts a print request.
// |destination_id|: The printer to which print job should be sent.
// |capability|: Capability reported by the printer.
+ // |job_title|: The title used for print job.
// |ticket_json|: The print job ticket as JSON string.
// |page_size|: The document page size.
// |print_data|: The document bytes to print.
@@ -69,6 +71,7 @@ class PrinterHandler {
virtual void StartPrint(
const std::string& destination_id,
const std::string& capability,
+ const base::string16& job_title,
const std::string& ticket_json,
const gfx::Size& page_size,
const scoped_refptr<base::RefCountedMemory>& print_data,

Powered by Google App Engine
This is Rietveld 408576698