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

Side by Side Diff: third_party/lzma/v4_65/files/CPP/7zip/Archive/7z/7zCompressionMode.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 // 7zCompressionMode.h
2
3 #ifndef __7Z_COMPRESSION_MODE_H
4 #define __7Z_COMPRESSION_MODE_H
5
6 #include "../../../Common/MyString.h"
7
8 #include "../../../Windows/PropVariant.h"
9
10 #include "../../Common/MethodProps.h"
11
12 namespace NArchive {
13 namespace N7z {
14
15 struct CMethodFull: public CMethod
16 {
17 UInt32 NumInStreams;
18 UInt32 NumOutStreams;
19 bool IsSimpleCoder() const { return (NumInStreams == 1) && (NumOutStreams == 1 ); }
20 };
21
22 struct CBind
23 {
24 UInt32 InCoder;
25 UInt32 InStream;
26 UInt32 OutCoder;
27 UInt32 OutStream;
28 };
29
30 struct CCompressionMethodMode
31 {
32 CObjectVector<CMethodFull> Methods;
33 CRecordVector<CBind> Binds;
34 #ifdef COMPRESS_MT
35 UInt32 NumThreads;
36 #endif
37 bool PasswordIsDefined;
38 UString Password;
39
40 bool IsEmpty() const { return (Methods.IsEmpty() && !PasswordIsDefined); }
41 CCompressionMethodMode(): PasswordIsDefined(false)
42 #ifdef COMPRESS_MT
43 , NumThreads(1)
44 #endif
45 {}
46 };
47
48 }}
49
50 #endif
OLDNEW
« no previous file with comments | « third_party/lzma/v4_65/files/C/Types.h ('k') | third_party/lzma/v4_65/files/CPP/7zip/Archive/7z/7zCompressionMode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698