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

Side by Side Diff: third_party/lzma/v4_65/files/CPP/7zip/Common/ProgressUtils.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 // ProgressUtils.h
2
3 #ifndef __PROGRESSUTILS_H
4 #define __PROGRESSUTILS_H
5
6 #include "../../Common/MyCom.h"
7
8 #include "../ICoder.h"
9 #include "../IProgress.h"
10
11 class CLocalProgress:
12 public ICompressProgressInfo,
13 public CMyUnknownImp
14 {
15 CMyComPtr<IProgress> _progress;
16 CMyComPtr<ICompressProgressInfo> _ratioProgress;
17 bool _inSizeIsMain;
18 public:
19 UInt64 ProgressOffset;
20 UInt64 InSize;
21 UInt64 OutSize;
22 bool SendRatio;
23 bool SendProgress;
24
25 CLocalProgress();
26 void Init(IProgress *progress, bool inSizeIsMain);
27 HRESULT SetCur();
28
29 MY_UNKNOWN_IMP
30
31 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
32 };
33
34 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698