Index: gpu/command_buffer/client/client_test_helper.h |
diff --git a/gpu/command_buffer/client/client_test_helper.h b/gpu/command_buffer/client/client_test_helper.h |
index 2cf18e63c4b63ddcaef2705c105b3469c3b99fbc..6778a831e48e1121fba25f2f5f25208fecbdeca8 100644 |
--- a/gpu/command_buffer/client/client_test_helper.h |
+++ b/gpu/command_buffer/client/client_test_helper.h |
@@ -41,6 +41,7 @@ class MockCommandBufferBase : public CommandBufferServiceBase { |
void SetToken(int32 token) override; |
void SetParseError(error::Error error) override; |
void SetContextLostReason(error::ContextLostReason reason) override; |
+ int32 GetPutOffset() override; |
// Get's the Id of the next transfer buffer that will be returned |
// by CreateTransferBuffer. This is useful for testing expected ids. |
@@ -56,6 +57,7 @@ class MockCommandBufferBase : public CommandBufferServiceBase { |
CommandBufferEntry* ring_buffer_; |
scoped_refptr<Buffer> ring_buffer_buffer_; |
State state_; |
+ int32 put_offset_; |
}; |
class MockClientCommandBuffer : public MockCommandBufferBase { |