| Index: chrome/browser/printing/pdf_to_emf_converter.h
|
| diff --git a/chrome/browser/printing/pdf_to_emf_converter.h b/chrome/browser/printing/pdf_to_emf_converter.h
|
| index 5f6254f0eed6cecbf6bb8a4427ddf3ca4b487b1a..0f87f445765c536d2523f6419cc94e940c0af2ff 100644
|
| --- a/chrome/browser/printing/pdf_to_emf_converter.h
|
| +++ b/chrome/browser/printing/pdf_to_emf_converter.h
|
| @@ -24,15 +24,16 @@ class PdfConverter {
|
| std::unique_ptr<MetafilePlayer> file)>;
|
| virtual ~PdfConverter();
|
|
|
| - static std::unique_ptr<PdfConverter> CreatePdfToEmfConverter();
|
| -
|
| - static std::unique_ptr<PdfConverter> CreatePdfToPostScriptConverter();
|
| -
|
| // Starts conversion of PDF provided as |data|. Calls |start_callback|
|
| // with positive |page_count|. |page_count| is 0 if initialization failed.
|
| - virtual void Start(const scoped_refptr<base::RefCountedMemory>& data,
|
| - const PdfRenderSettings& conversion_settings,
|
| - const StartCallback& start_callback) = 0;
|
| + static std::unique_ptr<PdfConverter> StartPdfToEmfConverter(
|
| + const scoped_refptr<base::RefCountedMemory>& data,
|
| + const PdfRenderSettings& conversion_settings,
|
| + const StartCallback& start_callback);
|
| + static std::unique_ptr<PdfConverter> StartPdfToPostScriptConverter(
|
| + const scoped_refptr<base::RefCountedMemory>& data,
|
| + const PdfRenderSettings& conversion_settings,
|
| + const StartCallback& start_callback);
|
|
|
| // Requests conversion of the page. |page_number| is 0-base page number in
|
| // PDF provided in Start() call.
|
|
|