Chromium Code Reviews| Index: include/codec/SkCodec.h |
| diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h |
| index 50875e46c4a42cfbef1d204a0af3bfa01a74b38c..b6ea02ac37704fa8a1704f980dc9a48c3d805839 100644 |
| --- a/include/codec/SkCodec.h |
| +++ b/include/codec/SkCodec.h |
| @@ -23,6 +23,10 @@ class SkData; |
| class SkPngChunkReader; |
| class SkSampler; |
| +namespace DM { |
| +class ColorCodecSrc; |
| +} |
| + |
| /** |
| * Abstraction layer directly on top of an image codec. |
| */ |
| @@ -646,6 +650,10 @@ protected: |
| virtual int onOutputScanline(int inputScanline) const; |
| + /** |
| + * Used for testing with qcms. |
|
scroggo
2016/05/31 21:13:34
I think you said this was temporary? Should there
msarett
2016/05/31 22:02:19
Yes I think so.
|
| + */ |
| + virtual sk_sp<SkData> getICCData() const { return nullptr; } |
| private: |
| const SkEncodedInfo fEncodedInfo; |
| const SkImageInfo fSrcInfo; |
| @@ -709,6 +717,7 @@ private: |
| */ |
| virtual SkSampler* getSampler(bool /*createIfNecessary*/) { return nullptr; } |
| + friend class DM::ColorCodecSrc; // For testing with qcms |
| friend class SkSampledCodec; |
| friend class SkIcoCodec; |
| }; |