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

Unified Diff: remoting/base/compound_buffer.h

Issue 1273233002: Implement QuicChannel and QuicChannelFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: 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);

Powered by Google App Engine
This is Rietveld 408576698