diff options
Diffstat (limited to 'printing/image.h')
-rw-r--r-- | printing/image.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/printing/image.h b/printing/image.h index e34c2c24..b40657a 100644 --- a/printing/image.h +++ b/printing/image.h @@ -13,7 +13,9 @@ #include "printing/printing_export.h" #include "ui/gfx/size.h" +namespace base { class FilePath; +} namespace printing { @@ -26,7 +28,7 @@ class PRINTING_EXPORT Image { // Creates the image from the given file on disk. Uses extension to // defer file type. PNG and EMF (on Windows) currently supported. // If image loading fails size().IsEmpty() will be true. - explicit Image(const FilePath& path); + explicit Image(const base::FilePath& path); // Creates the image from the metafile. Deduces bounds based on bounds in // metafile. If loading fails size().IsEmpty() will be true. @@ -45,7 +47,7 @@ class PRINTING_EXPORT Image { std::string checksum() const; // Save image as PNG. - bool SaveToPng(const FilePath& filepath) const; + bool SaveToPng(const base::FilePath& filepath) const; // Returns % of pixels different double PercentageDifferent(const Image& rhs) const; |