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

Unified Diff: printing/metafile.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 | « printing/image.h ('k') | printing/pdf_metafile_cg_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/metafile.h
diff --git a/printing/metafile.h b/printing/metafile.h
index a73c850ccf024e39adb6b7e37f1d3e6431136a2e..ca0901b2b65c007cf4c14dab1c3fd3c9b0a56d8f 100644
--- a/printing/metafile.h
+++ b/printing/metafile.h
@@ -18,7 +18,9 @@
#include "base/mac/scoped_cftyperef.h"
#endif
+namespace base {
class FilePath;
+}
namespace gfx {
class Rect;
@@ -117,7 +119,7 @@ class PRINTING_EXPORT Metafile {
// Saves the underlying data to the given file. This function should ONLY be
// called after the metafile is closed. Returns true if writing succeeded.
- virtual bool SaveTo(const FilePath& file_path) const = 0;
+ virtual bool SaveTo(const base::FilePath& file_path) const = 0;
// Returns the bounds of the given page. Pages use a 1-based index.
virtual gfx::Rect GetPageBounds(unsigned int page_number) const = 0;
« no previous file with comments | « printing/image.h ('k') | printing/pdf_metafile_cg_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698