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 86afb0595c30471bf0c1632159b9a61890fd02c7..0ad5a1a152cd748d7565c06ea73c8102bfec6110 100644 |
--- a/chrome/browser/printing/pdf_to_emf_converter.h |
+++ b/chrome/browser/printing/pdf_to_emf_converter.h |
@@ -7,6 +7,7 @@ |
#include "base/callback.h" |
#include "base/memory/ref_counted_memory.h" |
+#include "base/memory/scoped_vector.h" |
namespace base { |
class FilePath; |
@@ -18,11 +19,14 @@ class PdfRenderSettings; |
namespace printing { |
+class Metafile; |
+ |
class PdfToEmfConverter { |
public: |
// Callback for when the PDF is converted to an EMF. |
- typedef base::Callback<void(double /*scale_factor*/, |
- const std::vector<base::FilePath>& /*emf_files*/)> |
+ // Takes ownership of metafiles. |
+ typedef base::Callback< |
+ void(double /*scale_factor*/, ScopedVector<Metafile>* /*emf_files*/)> |
ResultCallback; |
virtual ~PdfToEmfConverter() {} |