summaryrefslogtreecommitdiffstats
path: root/remoting/base/compound_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/base/compound_buffer.h')
-rw-r--r--remoting/base/compound_buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/base/compound_buffer.h b/remoting/base/compound_buffer.h
index eef8d13..cf92242 100644
--- a/remoting/base/compound_buffer.h
+++ b/remoting/base/compound_buffer.h
@@ -105,6 +105,8 @@ class CompoundBufferInputStream
explicit CompoundBufferInputStream(const CompoundBuffer* buffer);
virtual ~CompoundBufferInputStream();
+ int position() const { return position_; }
+
// google::protobuf::io::ZeroCopyInputStream interface.
virtual bool Next(const void** data, int* size);
virtual void BackUp(int count);