From 56c4dec4b2fea6158a81d1f8c3d0a81e2da7c2de Mon Sep 17 00:00:00 2001 From: "noamsml@google.com" Date: Sat, 23 Feb 2013 05:56:39 +0000 Subject: Added PrinterJobQueueHandler class and tests Added handler class and tests for the printer job queue. This class will eventually allow the connector to select the most appropriate job in the case of failure to fetch the print ticket or file data for one or more jobs on the print queue, and includes facilities for exponential backoff. Removed redundaunt data structures in PrinterJobHandler, and replaced implementation of HandlerJobMetadata response with one that uses PrinterJobQueueHandler but only acts if there is no wait time for a job. This CL does not change the actual behavior of the connector at the moment, but introduces code that will be used to allow the CL to more intelligently select jobs in case of a fetch failure in the future. BUG= Review URL: https://chromiumcodereview.appspot.com/12260012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184286 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome.gyp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/chrome.gyp') diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index ab52f58..5b8c6fa 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -343,6 +343,8 @@ 'service/cloud_print/print_system.h', 'service/cloud_print/printer_job_handler.cc', 'service/cloud_print/printer_job_handler.h', + 'service/cloud_print/printer_job_queue_handler.cc', + 'service/cloud_print/printer_job_queue_handler.h', 'service/gaia/service_gaia_authenticator.cc', 'service/gaia/service_gaia_authenticator.h', 'service/net/service_url_request_context.cc', -- cgit v1.1