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

Unified Diff: src/pdf/SkDeflateWStream.h

Issue 957323003: miniz support in SkFlate / PDF (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: class comment Created 5 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 | « src/core/SkFlate.cpp ('k') | src/pdf/SkDeflateWStream.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkDeflateWStream.h
diff --git a/src/pdf/SkDeflateWStream.h b/src/pdf/SkDeflateWStream.h
deleted file mode 100644
index bccb4db220f1dfc537acdee2ad9e2c68c58057fb..0000000000000000000000000000000000000000
--- a/src/pdf/SkDeflateWStream.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkDeflateWStream_DEFINED
-#define SkDeflateWStream_DEFINED
-
-#include "SkStream.h"
-// https://skia.org/dev/contrib/style#no-define-before-sktypes
-
-#ifndef SK_NO_FLATE // Clients of this class should be guarded.
-
-/**
- * Wrap a stream in this class to compress the information written to
- * this stream using the Deflate algorithm. Uses Zlib's
- * Z_DEFAULT_COMPRESSION level.
- *
- * See http://en.wikipedia.org/wiki/DEFLATE
- */
-class SkDeflateWStream : public SkWStream {
-public:
- /** Does not take ownership of the stream. */
- SkDeflateWStream(SkWStream*);
-
- /** The destructor calls finalize(). */
- ~SkDeflateWStream();
-
- /** Write the end of the compressed stream. All subsequent calls to
- write() will fail. Subsequent calls to finalize() do nothing. */
- void finalize();
-
- // The SkWStream interface:
- bool write(const void*, size_t) SK_OVERRIDE;
- size_t bytesWritten() const SK_OVERRIDE;
-
-private:
- struct Impl;
- SkAutoTDelete<Impl> fImpl;
-};
-#endif // SK_NO_FLATE
-
-#endif // SkDeflateWStream_DEFINED
« no previous file with comments | « src/core/SkFlate.cpp ('k') | src/pdf/SkDeflateWStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698