| OLD | NEW |
| 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_IO_JAVSCRIPT_STREAM_H_ | 5 #ifndef COMPRESSOR_IO_JAVSCRIPT_STREAM_H_ |
| 6 #define COMPRESSOR_IO_JAVSCRIPT_STREAM_H_ | 6 #define COMPRESSOR_IO_JAVSCRIPT_STREAM_H_ |
| 7 | 7 |
| 8 #include <pthread.h> | 8 #include <pthread.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 int64_t read_bytes_; | 54 int64_t read_bytes_; |
| 55 | 55 |
| 56 // True if destination_buffer_ is available. | 56 // True if destination_buffer_ is available. |
| 57 bool available_data_; | 57 bool available_data_; |
| 58 | 58 |
| 59 // Stores the data read from JavaScript. | 59 // Stores the data read from JavaScript. |
| 60 char* destination_buffer_; | 60 char* destination_buffer_; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 #endif // COMPRESSOR_IO_JAVSCRIPT_STREAM_H_ | 63 #endif // COMPRESSOR_IO_JAVSCRIPT_STREAM_H_ |
| OLD | NEW |