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

Side by Side Diff: ui/file_manager/zip_archiver/cpp/volume_archive_libarchive.cc

Issue 2804453002: Move files from zip_archiver/unpacker/ to zip_archiver/. (Closed)
Patch Set: Move files from zip_archiver/unpacker/ to zip_archiver/. Created 3 years, 8 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
1 // Copyright 2014 The Chromium OS Authors. All rights reserved. 1 // Copyright 2014 The Chromium OS Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "volume_archive_libarchive.h" 5 #include "volume_archive_libarchive.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cerrno> 8 #include <cerrno>
9 #include <limits> 9 #include <limits>
10 10
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 decompressed_data_buffer_ + 345 decompressed_data_buffer_ +
346 volume_archive_constants::kDecompressBufferSize); 346 volume_archive_constants::kDecompressBufferSize);
347 347
348 return read_bytes; 348 return read_bytes;
349 } 349 }
350 350
351 void VolumeArchiveLibarchive::MaybeDecompressAhead() { 351 void VolumeArchiveLibarchive::MaybeDecompressAhead() {
352 if (decompressed_data_size_ == 0) 352 if (decompressed_data_size_ == 0)
353 DecompressData(last_read_data_offset_, last_read_data_length_); 353 DecompressData(last_read_data_offset_, last_read_data_length_);
354 } 354 }
OLDNEW
« no previous file with comments | « ui/file_manager/zip_archiver/cpp/volume_archive_libarchive.h ('k') | ui/file_manager/zip_archiver/cpp/volume_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698