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

Unified Diff: chrome/service/service_utility_process_host.h

Issue 255543006: Printing on Windows via PDF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove ref to internal_pdf and rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/service/service_utility_process_host.h
diff --git a/chrome/service/service_utility_process_host.h b/chrome/service/service_utility_process_host.h
index 855e2a78bdbaf7a453566611cd6524215a5ab4d7..ac37bdb5540944b5b71ee24d5d367a7babdbf7b1 100644
--- a/chrome/service/service_utility_process_host.h
+++ b/chrome/service/service_utility_process_host.h
@@ -139,8 +139,9 @@ class ServiceUtilityProcessHost : public content::ChildProcessHostDelegate {
base::ProcessHandle handle() const { return handle_; }
// Messages handlers:
- void OnRenderPDFPagesToMetafileSucceeded(int highest_rendered_page_number,
- double scale_factor);
+ void OnRenderPDFPagesToMetafilesSucceeded(
+ const std::vector<printing::PageRange>& page_ranges,
+ double scale_factor);
void OnRenderPDFPagesToMetafileFailed();
void OnGetPrinterCapsAndDefaultsSucceeded(
const std::string& printer_name,
@@ -158,7 +159,7 @@ class ServiceUtilityProcessHost : public content::ChildProcessHostDelegate {
scoped_refptr<Client> client_;
scoped_refptr<base::MessageLoopProxy> client_message_loop_proxy_;
bool waiting_for_reply_;
- // The path to the temp file where the metafile will be written to.
+ // The base path to the temp file where the metafile will be written to.
base::FilePath metafile_path_;
// The temporary folder created for the metafile.
scoped_ptr<base::ScopedTempDir> scratch_metafile_dir_;
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper_pdf_win.cc ('k') | chrome/service/service_utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698