From a3ef4830d5b5fdc52e5d7d0cb33dae8844f0961e Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sat, 2 Feb 2013 05:12:33 +0000 Subject: Add FilePath to base namespace. This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes. Review URL: https://codereview.chromium.org/12163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98 --- printing/emf_win.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'printing/emf_win.h') diff --git a/printing/emf_win.h b/printing/emf_win.h index 2f0772f..3516f4e 100644 --- a/printing/emf_win.h +++ b/printing/emf_win.h @@ -14,7 +14,9 @@ #include "base/gtest_prod_util.h" #include "printing/metafile.h" +namespace base { class FilePath; +} namespace gfx { class Rect; @@ -42,10 +44,10 @@ class PRINTING_EXPORT Emf : public Metafile { // Generates a new metafile that will record every GDI command, and will // be saved to |metafile_path|. - virtual bool InitToFile(const FilePath& metafile_path); + virtual bool InitToFile(const base::FilePath& metafile_path); // Initializes the Emf with the data in |metafile_path|. - virtual bool InitFromFile(const FilePath& metafile_path); + virtual bool InitFromFile(const base::FilePath& metafile_path); // Metafile methods. virtual bool Init() OVERRIDE; @@ -71,7 +73,7 @@ class PRINTING_EXPORT Emf : public Metafile { // Saves the EMF data to a file as-is. It is recommended to use the .emf file // extension but it is not enforced. This function synchronously writes to the // file. For testing only. - virtual bool SaveTo(const FilePath& file_path) const OVERRIDE; + virtual bool SaveTo(const base::FilePath& file_path) const OVERRIDE; // Should be passed to Playback to keep the exact same size. virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE; -- cgit v1.1