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

Unified Diff: extensions/browser/api/printer_provider/printer_provider_print_job.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: extensions/browser/api/printer_provider/printer_provider_print_job.h
diff --git a/extensions/browser/api/printer_provider/printer_provider_print_job.h b/extensions/browser/api/printer_provider/printer_provider_print_job.h
index 81fc9b8674fd47fd1aa6aabfa60cb8e4f548803f..4148d0d40092dec5dcda60170d77f3937f7d82ee 100644
--- a/extensions/browser/api/printer_provider/printer_provider_print_job.h
+++ b/extensions/browser/api/printer_provider/printer_provider_print_job.h
@@ -11,6 +11,7 @@
#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/memory/ref_counted_memory.h"
+#include "base/strings/string16.h"
namespace extensions {
@@ -30,6 +31,9 @@ struct PrinterProviderPrintJob {
// chrome.printerProvider.onGetPrintersRequested event callback).
std::string printer_id;
+ // The print job title.
+ base::string16 job_title;
+
// The print job ticket.
std::string ticket_json;
« no previous file with comments | « extensions/browser/api/printer_provider/printer_provider_apitest.cc ('k') | extensions/common/api/printer_provider.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698