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

Side by Side Diff: third_party/lzma/v4_65/files/CPP/7zip/Compress/LzmaRegister.cpp

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 // LzmaRegister.cpp
2
3 #include "StdAfx.h"
4
5 #include "../Common/RegisterCodec.h"
6
7 #include "LzmaDecoder.h"
8
9 static void *CreateCodec() { return (void *)(ICompressCoder *)(new NCompress::NL zma::CDecoder); }
10 #ifndef EXTRACT_ONLY
11 #include "LzmaEncoder.h"
12 static void *CreateCodecOut() { return (void *)(ICompressCoder *)(new NCompress: :NLzma::CEncoder); }
13 #else
14 #define CreateCodecOut 0
15 #endif
16
17 static CCodecInfo g_CodecInfo =
18 { CreateCodec, CreateCodecOut, 0x030101, L"LZMA", 1, false };
19
20 REGISTER_CODEC(LZMA)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698