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

Unified Diff: ui/file_manager/zip_archiver/cpp/volume.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/zip_archiver/cpp/request.cc ('k') | ui/file_manager/zip_archiver/cpp/volume.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/zip_archiver/cpp/volume.h
diff --git a/ui/file_manager/zip_archiver/cpp/volume.h b/ui/file_manager/zip_archiver/cpp/volume.h
index dc8efb43dae3d3cba117b0b7f82c3b0db247edeb..4d05ca05d19db2353295ad7c0228eec8b7a17f7b 100644
--- a/ui/file_manager/zip_archiver/cpp/volume.h
+++ b/ui/file_manager/zip_archiver/cpp/volume.h
@@ -7,7 +7,6 @@
#include <pthread.h>
-#include "archive.h"
#include "ppapi/cpp/instance_handle.h"
#include "ppapi/cpp/var_array_buffer.h"
#include "ppapi/cpp/var_dictionary.h"
@@ -33,7 +32,7 @@ class VolumeReaderFactoryInterface {
public:
virtual ~VolumeReaderFactoryInterface() {}
- // Creates a new VolumeReader. Returns NULL if failed.
+ // Creates a new VolumeReader. Returns nullptr if failed.
// Passes VolumeReader ownership to the implementation of
// VolumeArchiveInterfaceInterface.
virtual VolumeReader* Create(int64_t archive_size) = 0;
@@ -184,6 +183,9 @@ class Volume {
// A factory for creating VolumeReader.
VolumeReaderFactoryInterface* volume_reader_factory_;
+
+ // A map that converts index of file in the volume to pathname.
+ std::map<int, std::string> index_to_pathname_;
};
#endif /// VOLUME_H_
« no previous file with comments | « ui/file_manager/zip_archiver/cpp/request.cc ('k') | ui/file_manager/zip_archiver/cpp/volume.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698