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

Unified Diff: third_party/lzma/v4_65/files/CPP/7zip/UI/Common/Extract.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/UI/Common/Extract.h
diff --git a/third_party/lzma/v4_65/files/CPP/7zip/UI/Common/Extract.h b/third_party/lzma/v4_65/files/CPP/7zip/UI/Common/Extract.h
deleted file mode 100644
index 37add18b5c3f5478411b5fa0718ecf68fcb60588..0000000000000000000000000000000000000000
--- a/third_party/lzma/v4_65/files/CPP/7zip/UI/Common/Extract.h
+++ /dev/null
@@ -1,77 +0,0 @@
-// Extract.h
-
-#ifndef __EXTRACT_H
-#define __EXTRACT_H
-
-#include "Common/Wildcard.h"
-#include "Windows/FileFind.h"
-
-#include "../../Archive/IArchive.h"
-
-#include "ArchiveExtractCallback.h"
-#include "ArchiveOpenCallback.h"
-#include "ExtractMode.h"
-#include "Property.h"
-
-#include "../Common/LoadCodecs.h"
-
-class CExtractOptions
-{
-public:
- bool StdOutMode;
- bool TestMode;
- NExtract::NPathMode::EEnum PathMode;
-
- UString OutputDir;
- bool YesToAll;
- UString DefaultItemName;
- NWindows::NFile::NFind::CFileInfoW ArchiveFileInfo;
-
- // bool ShowDialog;
- // bool PasswordEnabled;
- // UString Password;
- #ifdef COMPRESS_MT
- CObjectVector<CProperty> Properties;
- #endif
-
- NExtract::NOverwriteMode::EEnum OverwriteMode;
-
- #ifdef EXTERNAL_CODECS
- CCodecs *Codecs;
- #endif
-
- CExtractOptions():
- StdOutMode(false),
- YesToAll(false),
- TestMode(false),
- PathMode(NExtract::NPathMode::kFullPathnames),
- OverwriteMode(NExtract::NOverwriteMode::kAskBefore)
- {}
-
- /*
- bool FullPathMode() const { return (ExtractMode == NExtractMode::kTest) ||
- (ExtractMode == NExtractMode::kFullPath); }
- */
-};
-
-struct CDecompressStat
-{
- UInt64 NumArchives;
- UInt64 UnpackSize;
- UInt64 PackSize;
- UInt64 NumFolders;
- UInt64 NumFiles;
- void Clear() { NumArchives = PackSize = UnpackSize = NumFolders = NumFiles = 0; }
-};
-
-HRESULT DecompressArchives(
- CCodecs *codecs, const CIntVector &formatIndices,
- UStringVector &archivePaths, UStringVector &archivePathsFull,
- const NWildcard::CCensorNode &wildcardCensor,
- const CExtractOptions &options,
- IOpenCallbackUI *openCallback,
- IExtractCallbackUI *extractCallback,
- UString &errorMessage,
- CDecompressStat &stat);
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698