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

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

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 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_STREAM_H_ 5 #ifndef COMPRESSOR_STREAM_H_
6 #define COMPRESSOR_STREAM_H_ 6 #define COMPRESSOR_STREAM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 // A IO class that reads and writes data from and to files through JavaScript. 10 // A IO class that reads and writes data from and to files through JavaScript.
(...skipping 22 matching lines...) Expand all
33 33
34 // Called when read file chunk done response arrives from JavaScript. Copies 34 // Called when read file chunk done response arrives from JavaScript. Copies
35 // the binary data in the given buffer to destination_buffer_ and Sends a 35 // the binary data in the given buffer to destination_buffer_ and Sends a
36 // signal to invoke Read function in another thread again. buffer must not be 36 // signal to invoke Read function in another thread again. buffer must not be
37 // const because buffer.Map() and buffer.Unmap() can not be called with const. 37 // const because buffer.Map() and buffer.Unmap() can not be called with const.
38 virtual void ReadFileChunkDone(int64_t read_bytes, 38 virtual void ReadFileChunkDone(int64_t read_bytes,
39 pp::VarArrayBuffer* buffer) = 0; 39 pp::VarArrayBuffer* buffer) = 0;
40 }; 40 };
41 41
42 #endif // COMPRESSOR_STREAM_H_ 42 #endif // COMPRESSOR_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698