Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright 2015 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #ifndef SkDeflateWStream_DEFINED | |
| 9 #define SkDeflateWStream_DEFINED | |
| 10 | |
| 11 #include "SkStream.h" | |
| 12 | |
|
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.
| |
| 13 class SkDeflateWStream : public SkWStream { | |
| 14 public: | |
| 15 SkDeflateWStream(SkWStream*); | |
| 16 ~SkDeflateWStream(); | |
| 17 bool write(const void*, size_t) SK_OVERRIDE; | |
| 18 void flush() SK_OVERRIDE; | |
| 19 size_t bytesWritten() const SK_OVERRIDE; | |
| 20 | |
| 21 private: | |
| 22 struct Impl; | |
| 23 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.
| |
| 24 }; | |
| 25 | |
| 26 #endif // SkDeflateWStream_DEFINED | |
| OLD | NEW |