diff options
author | noamsml@google.com <noamsml@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-23 05:56:39 +0000 |
---|---|---|
committer | noamsml@google.com <noamsml@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-23 05:56:39 +0000 |
commit | 56c4dec4b2fea6158a81d1f8c3d0a81e2da7c2de (patch) | |
tree | be5a95aec256b1cc7579932455e32189e9fb70eb /chrome/chrome.gyp | |
parent | 4ec9380487bf82001200a0f814dfb24d97f43ca5 (diff) | |
download | chromium_src-56c4dec4b2fea6158a81d1f8c3d0a81e2da7c2de.zip chromium_src-56c4dec4b2fea6158a81d1f8c3d0a81e2da7c2de.tar.gz chromium_src-56c4dec4b2fea6158a81d1f8c3d0a81e2da7c2de.tar.bz2 |
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
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
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', |