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

Issue 919213002: Handle an extension printer supporting only PWG raster data (Closed)

Created:
5 years, 10 months ago by tbarzic
Modified:
5 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle an extension printer supporting only PWG raster data If an extension printer does not declare support for PDF in its capabilities, convert print data to PWG raster before dispatching print request to the extension. BUG=408772 Committed: https://crrev.com/4df4bf62db39f76f09f0b5600594d02fe4169641 Cr-Commit-Position: refs/heads/master@{#317012}

Patch Set 1 #

Patch Set 2 : rebase to ToT #

Patch Set 3 : . #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : remove ENABLE_DISCOVERY_SERVICE ifdefs #

Total comments: 6

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Total comments: 3

Patch Set 11 : . #

Patch Set 12 : . #

Patch Set 13 : fix a comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -16 lines) Patch
M chrome/browser/ui/webui/print_preview/extension_printer_handler.h View 1 2 3 4 5 4 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/extension_printer_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +101 lines, -12 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.cc View 1 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/print_preview/printer_handler.h View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
tbarzic
5 years, 10 months ago (2015-02-13 03:02:59 UTC) #3
tbarzic
https://codereview.chromium.org/919213002/diff/80001/chrome/browser/ui/webui/print_preview/extension_printer_handler.h File chrome/browser/ui/webui/print_preview/extension_printer_handler.h (right): https://codereview.chromium.org/919213002/diff/80001/chrome/browser/ui/webui/print_preview/extension_printer_handler.h#newcode101 chrome/browser/ui/webui/print_preview/extension_printer_handler.h:101: #if defined(ENABLE_SERVICE_DISCOVERY) actually, looking at chrome_browser_gypi, this is included ...
5 years, 10 months ago (2015-02-13 03:08:13 UTC) #4
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/919213002/diff/80001/chrome/browser/ui/webui/print_preview/extension_printer_handler.h File chrome/browser/ui/webui/print_preview/extension_printer_handler.h (right): https://codereview.chromium.org/919213002/diff/80001/chrome/browser/ui/webui/print_preview/extension_printer_handler.h#newcode101 chrome/browser/ui/webui/print_preview/extension_printer_handler.h:101: #if defined(ENABLE_SERVICE_DISCOVERY) On 2015/02/13 03:08:13, tbarzic wrote: > actually, ...
5 years, 10 months ago (2015-02-17 19:43:54 UTC) #5
tbarzic
https://codereview.chromium.org/919213002/diff/50005/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc File chrome/browser/ui/webui/print_preview/extension_printer_handler.cc (right): https://codereview.chromium.org/919213002/diff/50005/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc#newcode69 chrome/browser/ui/webui/print_preview/extension_printer_handler.cc:69: base::WorkerPool::GetTaskRunner(true)->PostTask( On 2015/02/17 19:43:54, Vitaly Buka wrote: > PostTaskAndReplyWithResult ...
5 years, 10 months ago (2015-02-18 02:55:50 UTC) #6
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/919213002/diff/190001/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc File chrome/browser/ui/webui/print_preview/extension_printer_handler.cc (right): https://codereview.chromium.org/919213002/diff/190001/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc#newcode64 chrome/browser/ui/webui/print_preview/extension_printer_handler.cc:64: base::WorkerPool::GetTaskRunner(true)->PostTaskAndReply( I thought about scoped_refptr<base::RefCountedString> ReadConvertedPWGRasterFileOnWorkerThread { return new_data; ...
5 years, 10 months ago (2015-02-18 20:00:58 UTC) #7
tbarzic
https://codereview.chromium.org/919213002/diff/190001/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc File chrome/browser/ui/webui/print_preview/extension_printer_handler.cc (right): https://codereview.chromium.org/919213002/diff/190001/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc#newcode64 chrome/browser/ui/webui/print_preview/extension_printer_handler.cc:64: base::WorkerPool::GetTaskRunner(true)->PostTaskAndReply( On 2015/02/18 20:00:57, Vitaly Buka wrote: > I ...
5 years, 10 months ago (2015-02-18 20:37:03 UTC) #8
tbarzic
https://codereview.chromium.org/919213002/diff/190001/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc File chrome/browser/ui/webui/print_preview/extension_printer_handler.cc (right): https://codereview.chromium.org/919213002/diff/190001/chrome/browser/ui/webui/print_preview/extension_printer_handler.cc#newcode64 chrome/browser/ui/webui/print_preview/extension_printer_handler.cc:64: base::WorkerPool::GetTaskRunner(true)->PostTaskAndReply( On 2015/02/18 20:37:03, tbarzic wrote: > On 2015/02/18 ...
5 years, 10 months ago (2015-02-18 20:37:35 UTC) #9
Vitaly Buka (NO REVIEWS)
lgtm
5 years, 10 months ago (2015-02-18 23:38:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/919213002/250001
5 years, 10 months ago (2015-02-18 23:41:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/919213002/250001
5 years, 10 months ago (2015-02-19 04:46:10 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/34253)
5 years, 10 months ago (2015-02-19 05:54:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/919213002/250001
5 years, 10 months ago (2015-02-19 06:06:24 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/34292)
5 years, 10 months ago (2015-02-19 07:11:49 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/919213002/250001
5 years, 10 months ago (2015-02-19 08:08:33 UTC) #23
commit-bot: I haz the power
Committed patchset #13 (id:250001)
5 years, 10 months ago (2015-02-19 08:45:04 UTC) #24
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 08:45:31 UTC) #25
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/4df4bf62db39f76f09f0b5600594d02fe4169641
Cr-Commit-Position: refs/heads/master@{#317012}

Powered by Google App Engine
This is Rietveld 408576698