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

Unified Diff: third_party/lzma/v4_65/files/CPP/7zip/Compress/LzmaEncoder.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 side-by-side diff with in-line comments
Download patch
Index: third_party/lzma/v4_65/files/CPP/7zip/Compress/LzmaEncoder.h
diff --git a/third_party/lzma/v4_65/files/CPP/7zip/Compress/LzmaEncoder.h b/third_party/lzma/v4_65/files/CPP/7zip/Compress/LzmaEncoder.h
deleted file mode 100644
index 4205d2b1500f5a8852c8a8d29593a891aa07cfb2..0000000000000000000000000000000000000000
--- a/third_party/lzma/v4_65/files/CPP/7zip/Compress/LzmaEncoder.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// LzmaEncoder.h
-
-#ifndef __LZMA_ENCODER_H
-#define __LZMA_ENCODER_H
-
-extern "C"
-{
-#include "../../../C/LzmaEnc.h"
-}
-
-#include "../../Common/MyCom.h"
-
-#include "../ICoder.h"
-
-namespace NCompress {
-namespace NLzma {
-
-struct CSeqInStream
-{
- ISeqInStream SeqInStream;
- ISequentialInStream *RealStream;
-};
-
-struct CSeqOutStream
-{
- ISeqOutStream SeqOutStream;
- CMyComPtr<ISequentialOutStream> RealStream;
- HRESULT Res;
-};
-
-class CEncoder :
- public ICompressCoder,
- public ICompressSetOutStream,
- public ICompressSetCoderProperties,
- public ICompressWriteCoderProperties,
- public CMyUnknownImp
-{
- CLzmaEncHandle _encoder;
-
- CSeqInStream _seqInStream;
- CSeqOutStream _seqOutStream;
-
-public:
- CEncoder();
-
- MY_UNKNOWN_IMP3(
- ICompressSetOutStream,
- ICompressSetCoderProperties,
- ICompressWriteCoderProperties
- )
-
- STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
- const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress);
- STDMETHOD(SetCoderProperties)(const PROPID *propIDs, const PROPVARIANT *props, UInt32 numProps);
- STDMETHOD(WriteCoderProperties)(ISequentialOutStream *outStream);
- STDMETHOD(SetOutStream)(ISequentialOutStream *outStream);
- STDMETHOD(ReleaseOutStream)();
-
- virtual ~CEncoder();
-};
-
-}}
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698