diff options
author | abeera@google.com <abeera@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-19 08:36:42 +0000 |
---|---|---|
committer | abeera@google.com <abeera@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-19 08:36:42 +0000 |
commit | 6457a0e4e49d5884d3de8e16d8216bd02ac3ea3d (patch) | |
tree | 6ff60d2125aa53d567dccb7a79207cc6d0f3b758 /chrome/common | |
parent | 3cf76d3f9c3ce0b61184b6dbb6c481f40f97d607 (diff) | |
download | chromium_src-6457a0e4e49d5884d3de8e16d8216bd02ac3ea3d.zip chromium_src-6457a0e4e49d5884d3de8e16d8216bd02ac3ea3d.tar.gz chromium_src-6457a0e4e49d5884d3de8e16d8216bd02ac3ea3d.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=
Review URL: http://codereview.chromium.org/7639024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 5 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 6 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"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index ab81c2f..74ac8da 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -53,6 +53,7 @@ extern const char kCloudPrintDeleteFile[]; extern const char kCloudPrintFile[]; extern const char kCloudPrintJobTitle[]; extern const char kCloudPrintFileType[]; +extern const char kCloudPrintPrintTicket[]; extern const char kCloudPrintProxyId[]; extern const char kCloudPrintServiceURL[]; extern const char kComponentUpdaterDebug[]; |