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 76c9e0aadbba3cbe39ebed5a649a6e8963836094..9990400a7bcec4639c381a87254f14cd87276b68 100644 |
--- a/chrome/browser/printing/pdf_to_emf_converter.h |
+++ b/chrome/browser/printing/pdf_to_emf_converter.h |
@@ -22,16 +22,14 @@ class PdfConverter { |
base::Callback<void(int page_number, |
float scale_factor, |
std::unique_ptr<MetafilePlayer> file)>; |
- |
virtual ~PdfConverter(); |
- static std::unique_ptr<PdfConverter> CreatePdfToEmfConverter(); |
- |
// 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> StartPdfConverter( |
+ 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. |
@@ -40,7 +38,6 @@ class PdfConverter { |
virtual void GetPage(int page_number, |
const GetPageCallback& get_page_callback) = 0; |
}; |
- |
} // namespace printing |
#endif // CHROME_BROWSER_PRINTING_PDF_TO_EMF_CONVERTER_H_ |