| OLD | NEW | 
|---|
| 1 | 1 | 
| 2 /* | 2 /* | 
| 3  * Copyright 2010 The Android Open Source Project | 3  * Copyright 2010 The Android Open Source Project | 
| 4  * | 4  * | 
| 5  * Use of this source code is governed by a BSD-style license that can be | 5  * Use of this source code is governed by a BSD-style license that can be | 
| 6  * found in the LICENSE file. | 6  * found in the LICENSE file. | 
| 7  */ | 7  */ | 
| 8 | 8 | 
| 9 | 9 | 
| 10 #ifndef SkFlate_DEFINED | 10 #ifndef SkFlate_DEFINED | 
| 11 #define SkFlate_DEFINED | 11 #define SkFlate_DEFINED | 
| 12 | 12 | 
| 13 #include "SkTypes.h" | 13 #include "SkTypes.h" | 
| 14 | 14 | 
| 15 #ifndef Sk_NO_FLATE |  | 
| 16 |  | 
| 17 #include "SkStream.h" | 15 #include "SkStream.h" | 
| 18 class SkData; | 16 class SkData; | 
| 19 | 17 | 
| 20 /** \class SkFlate | 18 /** \class SkFlate | 
| 21     A class to provide access to the flate compression algorithm. | 19     A class to provide access to the flate compression algorithm. | 
| 22 */ | 20 */ | 
| 23 class SkFlate { | 21 class SkFlate { | 
| 24 public: | 22 public: | 
| 25     /** | 23     /** | 
| 26      *  Use the flate compression algorithm to compress the data in src, | 24      *  Use the flate compression algorithm to compress the data in src, | 
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 67 | 65 | 
| 68     // The SkWStream interface: | 66     // The SkWStream interface: | 
| 69     bool write(const void*, size_t) override; | 67     bool write(const void*, size_t) override; | 
| 70     size_t bytesWritten() const override; | 68     size_t bytesWritten() const override; | 
| 71 | 69 | 
| 72 private: | 70 private: | 
| 73     struct Impl; | 71     struct Impl; | 
| 74     SkAutoTDelete<Impl> fImpl; | 72     SkAutoTDelete<Impl> fImpl; | 
| 75 }; | 73 }; | 
| 76 | 74 | 
| 77 #endif  // SK_NO_FLATE |  | 
| 78 #endif  // SkFlate_DEFINED | 75 #endif  // SkFlate_DEFINED | 
| OLD | NEW | 
|---|