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

Side by Side Diff: ui/file_manager/zip_archiver/cpp/compressor.h

Issue 2807063002: Replace Libarchive with MiniZip. (Closed)
Patch Set: Fix a few nits. 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
« no previous file with comments | « no previous file | ui/file_manager/zip_archiver/cpp/compressor.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium OS Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef COMPRESSOR_H_ 5 #ifndef COMPRESSOR_H_
6 #define COMPRESSOR_H_ 6 #define COMPRESSOR_H_
7 7
8 #include <ctime> 8 #include <ctime>
9 #include <pthread.h> 9 #include <pthread.h>
10 10
11 #include "archive.h"
12 #include "ppapi/cpp/instance_handle.h" 11 #include "ppapi/cpp/instance_handle.h"
13 #include "ppapi/cpp/var_array_buffer.h" 12 #include "ppapi/cpp/var_array_buffer.h"
14 #include "ppapi/cpp/var_dictionary.h" 13 #include "ppapi/cpp/var_dictionary.h"
15 #include "ppapi/utility/completion_callback_factory.h" 14 #include "ppapi/utility/completion_callback_factory.h"
16 #include "ppapi/utility/threading/simple_thread.h" 15 #include "ppapi/utility/threading/simple_thread.h"
17 16
18 #include "compressor_archive.h" 17 #include "compressor_archive.h"
19 #include "compressor_stream.h" 18 #include "compressor_stream.h"
20 #include "javascript_compressor_requestor_interface.h" 19 #include "javascript_compressor_requestor_interface.h"
21 #include "javascript_message_sender_interface.h" 20 #include "javascript_message_sender_interface.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 JavaScriptCompressorRequestorInterface* requestor_; 83 JavaScriptCompressorRequestorInterface* requestor_;
85 84
86 // Libarchive wrapper instance per compressor, shared across all operations. 85 // Libarchive wrapper instance per compressor, shared across all operations.
87 CompressorArchive* compressor_archive_; 86 CompressorArchive* compressor_archive_;
88 87
89 // An instance that takes care of all IO operations. 88 // An instance that takes care of all IO operations.
90 CompressorStream* compressor_stream_; 89 CompressorStream* compressor_stream_;
91 }; 90 };
92 91
93 #endif /// COMPRESSOR_H_ 92 #endif /// COMPRESSOR_H_
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/zip_archiver/cpp/compressor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698