commit | e80bcd21ff84b0f31b8a9650496bc25091d8017e | [log] [tgz] |
---|---|---|
author | Lei Zhang <[email protected]> | Fri Apr 13 23:24:58 2018 |
committer | Commit Bot <[email protected]> | Fri Apr 13 23:24:58 2018 |
tree | 0696df916bfae651fc3c943ba19a3bdf4e37c53b | |
parent | 297c3d2062dd30e2a60051224e05f46607ce345c [diff] |
Change some printing methods to take a PrinterQuery. The methods being modified are PrintJob::Initialize() and PrintViewManagerBase::CreateNewPrintJob(). Right now they take PrinterQuery's parent class, PrintJobWorkerOwner. However, in non-test situations, these methods always take a PrinterQuery. So just make them to take a PrinterQuery. Once that is done: - PrintJobWorkerOwner no longer needs a cookie() method. Move that into PrinterQuery. - A test class used for testing PrintJob now derives from PrinterQuery. Update the test class to let it continue working. Change-Id: I6214fa481ac57a017111aa2a6f3e1b00c22d96c6 Reviewed-on: https://chromium-review.googlesource.com/1000965 Commit-Queue: Lei Zhang <[email protected]> Reviewed-by: Rebekah Potter <[email protected]> Cr-Commit-Position: refs/heads/master@{#550809}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .