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

Unified Diff: printing/image.cc

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/emf_win_unittest.cc ('k') | printing/pdf_metafile_cg_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/image.cc
diff --git a/printing/image.cc b/printing/image.cc
index cded369ce7162f3c9879dcc8960a6a3bda2c46ae..099fcd727d393c4d4f7204507218d2cdcef6dcc8 100644
--- a/printing/image.cc
+++ b/printing/image.cc
@@ -17,7 +17,7 @@
namespace printing {
-Image::Image(const FilePath& path)
+Image::Image(const base::FilePath& path)
: row_length_(0),
ignore_alpha_(true) {
std::string data;
@@ -58,7 +58,7 @@ std::string Image::checksum() const {
return base::HexEncode(&digest, sizeof(digest));
}
-bool Image::SaveToPng(const FilePath& filepath) const {
+bool Image::SaveToPng(const base::FilePath& filepath) const {
DCHECK(!data_.empty());
std::vector<unsigned char> compressed;
bool success = gfx::PNGCodec::Encode(&*data_.begin(),
« no previous file with comments | « printing/emf_win_unittest.cc ('k') | printing/pdf_metafile_cg_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698