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

Unified Diff: chrome/browser/printing/pdf_to_emf_converter.h

Issue 547203002: Delete temporarily dir for PDF to EMF conversion after all EMF files closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mon Sep 8 12:19:46 PDT 2014 Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/printing/pdf_to_emf_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « no previous file | chrome/browser/printing/pdf_to_emf_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698