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

Side by Side Diff: src/core/SkFlate.h

Issue 1041183002: SkPDF: remove SK_NO_FLATE & dead code in SkPDFStream (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-03-30 (Monday) 12:19:51 EDT Created 5 years, 8 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 unified diff | Download patch
« no previous file with comments | « include/config/SkUserConfig.h ('k') | src/core/SkFlate.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « include/config/SkUserConfig.h ('k') | src/core/SkFlate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698