summaryrefslogtreecommitdiffstats
path: root/cloud_print
diff options
context:
space:
mode:
authornoamsml@chromium.org <noamsml@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-09 17:23:25 +0000
committernoamsml@chromium.org <noamsml@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-09 17:23:25 +0000
commit014a62cbb9d6e9013c038b1e3c46ea764799be13 (patch)
tree8829dfc3b6fe774fafb8f2f5b76d6a04e79461f8 /cloud_print
parent901cf6ff7fb561ec08f245003c4e990610021f93 (diff)
downloadchromium_src-014a62cbb9d6e9013c038b1e3c46ea764799be13.zip
chromium_src-014a62cbb9d6e9013c038b1e3c46ea764799be13.tar.gz
chromium_src-014a62cbb9d6e9013c038b1e3c46ea764799be13.tar.bz2
Print to Privet local printers
This is a first iteration of printing to a Privet local printer. It only supports PDFs. PWG rasterization will be added separately. BUG=311390 Review URL: https://codereview.chromium.org/59843010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234126 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
-rw-r--r--cloud_print/gcp20/prototype/print_job_handler.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloud_print/gcp20/prototype/print_job_handler.cc b/cloud_print/gcp20/prototype/print_job_handler.cc
index a82f26f..5666143 100644
--- a/cloud_print/gcp20/prototype/print_job_handler.cc
+++ b/cloud_print/gcp20/prototype/print_job_handler.cc
@@ -23,7 +23,7 @@ const int kLocalPrintJobExpirationSec = 20;
const int kErrorTimeoutSec = 30;
// Errors simulation constants:
-const double kPaperJamProbability = 0.2;
+const double kPaperJamProbability = 1.0;
const int kTooManyDraftsTimeout = 10;
const size_t kMaxDrafts = 5;
@@ -321,4 +321,3 @@ void PrintJobHandler::ForgetDraft(const std::string& id) {
void PrintJobHandler::ForgetLocalJob(const std::string& id) {
jobs.erase(id);
}
-