diff options
author | vitalybuka <vitalybuka@chromium.org> | 2014-09-12 02:19:59 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-12 09:28:05 +0000 |
commit | 5d1290581ae0d39d5c640c1f95ba298946515dbe (patch) | |
tree | 370d078537161b95c196d42a121ff0ede1d2f547 /chrome/service | |
parent | 07d6071e18c1fa48a7667c1ca78a64573dd4c849 (diff) | |
download | chromium_src-5d1290581ae0d39d5c640c1f95ba298946515dbe.zip chromium_src-5d1290581ae0d39d5c640c1f95ba298946515dbe.tar.gz chromium_src-5d1290581ae0d39d5c640c1f95ba298946515dbe.tar.bz2 |
Extracted MetafilePlayer interface from printing::MetafilePlayer.
Removed some unused code.
Updated interfaces from plain pointers to scoped_ptr<>
SaveTo(base::FilePath) replaced with SaveTo(base::File).
BUG=408184
TBR=sgurun@chromium.org
Review URL: https://codereview.chromium.org/568633002
Cr-Commit-Position: refs/heads/master@{#294556}
Diffstat (limited to 'chrome/service')
-rw-r--r-- | chrome/service/cloud_print/print_system_win.cc | 2 | ||||
-rw-r--r-- | chrome/service/service_utility_process_host.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/service/cloud_print/print_system_win.cc b/chrome/service/cloud_print/print_system_win.cc index f5e615e..7d252be 100644 --- a/chrome/service/cloud_print/print_system_win.cc +++ b/chrome/service/cloud_print/print_system_win.cc @@ -336,7 +336,7 @@ class JobSpoolerWin : public PrintSystem::JobSpooler { // ServiceUtilityProcessHost::Client implementation. virtual void OnRenderPDFPagesToMetafileSucceeded( - const printing::Emf& metafile, + const printing::MetafilePlayer& metafile, int highest_rendered_page_number, double scale_factor) OVERRIDE { PreparePageDCForPrinting(printer_dc_.Get(), scale_factor); diff --git a/chrome/service/service_utility_process_host.h b/chrome/service/service_utility_process_host.h index ac37bdb..9ad97dd 100644 --- a/chrome/service/service_utility_process_host.h +++ b/chrome/service/service_utility_process_host.h @@ -30,7 +30,7 @@ class ChildProcessHost; } namespace printing { -class Emf; +class MetafilePlayer; struct PageRange; struct PrinterCapsAndDefaults; struct PrinterSemanticCapsAndDefaults; @@ -54,7 +54,7 @@ class ServiceUtilityProcessHost : public content::ChildProcessHostDelegate { // Called when at least one page in the specified PDF has been rendered // successfully into |metafile|. virtual void OnRenderPDFPagesToMetafileSucceeded( - const printing::Emf& metafile, + const printing::MetafilePlayer& metafile, int highest_rendered_page_number, double scale_factor) {} // Called when no page in the passed in PDF could be rendered. |