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

Unified Diff: printing/emf_win.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | « net/url_request/url_request_context_builder.h ('k') | printing/image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/emf_win.h
diff --git a/printing/emf_win.h b/printing/emf_win.h
index 2f0772f3f8033430eda6dc84f9101b1d2a5f78df..3516f4efb7d185e0e155dfeb7e44905a9d36a7b8 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;
« no previous file with comments | « net/url_request/url_request_context_builder.h ('k') | printing/image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698