Chromium Code Reviews| Index: remoting/base/compound_buffer.h |
| diff --git a/remoting/base/compound_buffer.h b/remoting/base/compound_buffer.h |
| index 50d3efb8b1a35c0cddcfea157ee072e41224a5a0..947f00afed131688e91a6198e931b4ae5c048ece 100644 |
| --- a/remoting/base/compound_buffer.h |
| +++ b/remoting/base/compound_buffer.h |
| @@ -52,6 +52,9 @@ class CompoundBuffer { |
| void AppendCopyOf(const char* data, int data_size); |
| void PrependCopyOf(const char* data, int data_size); |
| + // Copies |buffer_size| bytes to buffer and crops them. |
|
dcaiafa
2015/08/10 23:31:35
Not implemented. Delete?
Sergey Ulanov
2015/08/11 21:34:00
Done.
|
| + void CopyAndCropFront(char* buffer, int buffer_size); |
| + |
| // Drop |bytes| bytes from the beginning or the end of the buffer. |
| void CropFront(int bytes); |
| void CropBack(int bytes); |