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

Side by Side Diff: third_party/lzma/v4_65/files/CPP/7zip/Compress/CopyCoder.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
(Empty)
1 // Compress/CopyCoder.h
2
3 #ifndef __COMPRESS_COPY_CODER_H
4 #define __COMPRESS_COPY_CODER_H
5
6 #include "../../Common/MyCom.h"
7
8 #include "../ICoder.h"
9
10 namespace NCompress {
11
12 class CCopyCoder:
13 public ICompressCoder,
14 public ICompressGetInStreamProcessedSize,
15 public CMyUnknownImp
16 {
17 Byte *_buffer;
18 public:
19 UInt64 TotalSize;
20 CCopyCoder(): TotalSize(0) , _buffer(0) {};
21 ~CCopyCoder();
22
23 MY_UNKNOWN_IMP1(ICompressGetInStreamProcessedSize)
24
25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream ,
26 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progre ss);
27 STDMETHOD(GetInStreamProcessedSize)(UInt64 *value);
28 };
29
30 }
31
32 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698