summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
diff options
context:
space:
mode:
authorabeera@google.com <abeera@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-20 04:05:56 +0000
committerabeera@google.com <abeera@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-20 04:05:56 +0000
commite8368e995e5be4ea449491baa7249ae5fb5afb6c (patch)
treeb6501b459be505db1c75a4e83b0a2a31bf670af8 /chrome/common/chrome_switches.cc
parent46544eee1ba9fbc99762c5f776e9e3fdb0ec0351 (diff)
downloadchromium_src-e8368e995e5be4ea449491baa7249ae5fb5afb6c.zip
chromium_src-e8368e995e5be4ea449491baa7249ae5fb5afb6c.tar.gz
chromium_src-e8368e995e5be4ea449491baa7249ae5fb5afb6c.tar.bz2
Code to accept a print ticket on the command line.
Used for the cloud print virtual drivers. Also modifies the relevant tests. BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97442 Review URL: http://codereview.chromium.org/7639024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97554 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_switches.cc')
-rw-r--r--chrome/common/chrome_switches.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c64afc3..800efdc 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -126,6 +126,11 @@ const char kCloudPrintFile[] = "cloud-print-file";
// Defaults to "application/pdf" if unspecified.
const char kCloudPrintFileType[] = "cloud-print-file-type";
+// Used with kCloudPrintFile to specify a JSON print ticket for the resulting
+// print job.
+// Defaults to null if unspecified.
+const char kCloudPrintPrintTicket[] = "cloud-print-print-ticket";
+
// Used with kCloudPrintFile to specify a title for the resulting print
// job.
const char kCloudPrintJobTitle[] = "cloud-print-job-title";