Chromium Code Reviews| Index: src/pdf/SkDeflateWStream.h |
| diff --git a/src/pdf/SkDeflateWStream.h b/src/pdf/SkDeflateWStream.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ebf2d576f5cb513fc90e54fa0c51554c09752a17 |
| --- /dev/null |
| +++ b/src/pdf/SkDeflateWStream.h |
| @@ -0,0 +1,26 @@ |
| +/* |
| + * 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" |
| + |
|
mtklein
2015/02/12 00:21:46
Might be nice to explain what it does here. At le
hal.canary
2015/02/12 21:28:03
Done.
|
| +class SkDeflateWStream : public SkWStream { |
| +public: |
| + SkDeflateWStream(SkWStream*); |
| + ~SkDeflateWStream(); |
| + bool write(const void*, size_t) SK_OVERRIDE; |
| + void flush() SK_OVERRIDE; |
| + size_t bytesWritten() const SK_OVERRIDE; |
| + |
| +private: |
| + struct Impl; |
| + Impl* fImpl; |
|
mtklein
2015/02/12 00:21:46
Ought to be able to SkAutoTDelete<Impl> fImpl if y
hal.canary
2015/02/12 21:28:03
Done.
|
| +}; |
| + |
| +#endif // SkDeflateWStream_DEFINED |