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

Unified Diff: ui/file_manager/zip_archiver/cpp/module.cc

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
Index: ui/file_manager/zip_archiver/cpp/module.cc
diff --git a/ui/file_manager/zip_archiver/cpp/module.cc b/ui/file_manager/zip_archiver/cpp/module.cc
index 24ae6c0be7afb24ff75fb6c88ca5a3f1870efe9c..1dfd6a448e796091fc13040bc1de6d82ce73f53c 100644
--- a/ui/file_manager/zip_archiver/cpp/module.cc
+++ b/ui/file_manager/zip_archiver/cpp/module.cc
@@ -110,10 +110,11 @@ class JavaScriptMessageSender : public JavaScriptMessageSenderInterface {
}
virtual void SendWriteChunk(int compressor_id,
- const pp::VarArrayBuffer& array_buffer,
- int64_t length) {
+ const pp::VarArrayBuffer& array_buffer,
+ int64_t offset,
+ int64_t length) {
JavaScriptPostMessage(request::CreateWriteChunkRequest(
- compressor_id, array_buffer, length));
+ compressor_id, array_buffer, offset, length));
}
virtual void SendAddToArchiveDone(int compressor_id) {
« no previous file with comments | « ui/file_manager/zip_archiver/cpp/javascript_message_sender_interface.h ('k') | ui/file_manager/zip_archiver/cpp/request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698