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

Unified Diff: cloud_print/gcp20/prototype/print_job_handler.cc

Issue 59843010: Print to Privet local printers (PDF only) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.cc ('k') | printing/print_job_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/gcp20/prototype/print_job_handler.cc
diff --git a/cloud_print/gcp20/prototype/print_job_handler.cc b/cloud_print/gcp20/prototype/print_job_handler.cc
index a82f26f88873d9d34ee3ce5da4cab4b5bfcf5335..5666143bebae5e24640ced6c2e335510a763e54c 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);
}
-
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.cc ('k') | printing/print_job_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698