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

Issue 2841032: Zlib compressor for Chromoting (Closed)

Created:
10 years, 5 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
Reviewers:
dmac
CC:
chromium-reviews, Sergey Ulanov, awong, garykac, Alpha Left Google, Paweł Hajdan Jr.
Visibility:
Public.

Description

Zlib compressor for Chromoting A simple implementation of compressor using zlib. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=51386

Patch Set 1 #

Patch Set 2 : added files #

Patch Set 3 : added new files #

Patch Set 4 : all done #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -3 lines) Patch
A remoting/base/compressor.h View 1 chunk +49 lines, -0 lines 0 comments Download
A remoting/base/compressor_zlib.h View 1 chunk +33 lines, -0 lines 0 comments Download
A remoting/base/compressor_zlib.cc View 1 chunk +73 lines, -0 lines 0 comments Download
A remoting/base/compressor_zlib_unittest.cc View 3 1 chunk +52 lines, -0 lines 3 comments Download
M remoting/remoting.gyp View 5 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Alpha Left Google
10 years, 5 months ago (2010-06-30 22:39:29 UTC) #1
dmac
LGTM, but check out the comments. http://codereview.chromium.org/2841032/diff/6001/7004 File remoting/base/compressor_zlib_unittest.cc (right): http://codereview.chromium.org/2841032/diff/6001/7004#newcode17 remoting/base/compressor_zlib_unittest.cc:17: // bytes is ...
10 years, 5 months ago (2010-07-01 00:12:54 UTC) #2
Alpha Left Google
http://codereview.chromium.org/2841032/diff/6001/7004 File remoting/base/compressor_zlib_unittest.cc (right): http://codereview.chromium.org/2841032/diff/6001/7004#newcode50 remoting/base/compressor_zlib_unittest.cc:50: Compress(&compressor, raw_data, kRawDataSize, On 2010/07/01 00:12:54, dmac wrote: > ...
10 years, 5 months ago (2010-07-01 00:14:57 UTC) #3
dmac
10 years, 5 months ago (2010-07-01 00:24:27 UTC) #4
On 2010/07/01 00:14:57, Alpha wrote:
> http://codereview.chromium.org/2841032/diff/6001/7004
> File remoting/base/compressor_zlib_unittest.cc (right):
> 
> http://codereview.chromium.org/2841032/diff/6001/7004#newcode50
> remoting/base/compressor_zlib_unittest.cc:50: Compress(&compressor, raw_data,
> kRawDataSize,
> On 2010/07/01 00:12:54, dmac wrote:
> > there's actually no test here other than it doesn't crash. Do you want to
try
> > testing it with a known data set as well to verify that you get the expected
> > values out? This may be overkill. Up to you.
> 
> The test will become invalid if zlib is updated and the compressed format
> doesn't match.
> 
> I plan instead to do a compress + decompress test when I write the
decompressor.

Sounds good. LGTM.

Powered by Google App Engine
This is Rietveld 408576698