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

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

Issue 2822673002: Change the copyright from Chromium OS to Chromium. (Closed)
Patch Set: 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 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.
11 // Currently, Read() and Write() methods are not called at the same time. 11 // Currently, Read() and Write() methods are not called at the same time.
(...skipping 27 matching lines...) Expand all
39 39
40 // Called when read file chunk done response arrives from JavaScript. Copies 40 // Called when read file chunk done response arrives from JavaScript. Copies
41 // the binary data in the given buffer to destination_buffer_ and Sends a 41 // the binary data in the given buffer to destination_buffer_ and Sends a
42 // signal to invoke Read function in another thread again. buffer must not be 42 // signal to invoke Read function in another thread again. buffer must not be
43 // const because buffer.Map() and buffer.Unmap() can not be called with const. 43 // const because buffer.Map() and buffer.Unmap() can not be called with const.
44 virtual int64_t ReadFileChunkDone(int64_t read_bytes, 44 virtual int64_t ReadFileChunkDone(int64_t read_bytes,
45 pp::VarArrayBuffer* buffer) = 0; 45 pp::VarArrayBuffer* buffer) = 0;
46 }; 46 };
47 47
48 #endif // COMPRESSOR_STREAM_H_ 48 #endif // COMPRESSOR_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698