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

Unified Diff: printing/image.h

Issue 2066843002: printing::Image: remove unused constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | printing/image.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/image.h
diff --git a/printing/image.h b/printing/image.h
index f0832328dd07d9a1a1fc710477e8ac09e1b98ddf..e055d189587aaba2d05fe458b56b46c64fe25389 100644
--- a/printing/image.h
+++ b/printing/image.h
@@ -27,11 +27,6 @@ class Metafile;
// The main purpose is testing image contents.
class PRINTING_EXPORT Image {
public:
- // 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 base::FilePath& path);
-
// Creates the image from the metafile. Deduces bounds based on bounds in
// metafile. If loading fails size().IsEmpty() will be true.
explicit Image(const Metafile& metafile);
@@ -77,8 +72,6 @@ class PRINTING_EXPORT Image {
bool LoadPng(const std::string& compressed);
- bool LoadMetafile(const std::string& data);
-
bool LoadMetafile(const Metafile& metafile);
// Pixel dimensions of the image.
« no previous file with comments | « no previous file | printing/image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698