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 6778a831e48e1121fba25f2f5f25208fecbdeca8..75d826545246abad2e37ae427018f82aeb115ac5 100644 |
--- a/gpu/command_buffer/client/client_test_helper.h |
+++ b/gpu/command_buffer/client/client_test_helper.h |
@@ -47,7 +47,7 @@ class MockCommandBufferBase : public CommandBufferServiceBase { |
// by CreateTransferBuffer. This is useful for testing expected ids. |
int32 GetNextFreeTransferBufferId(); |
- void FlushHelper(int32 put_offset); |
+ void FlushHelper(int32 put_offset, const std::vector<uint32>& sync_points); |
void DestroyTransferBufferHelper(int32 id); |
virtual void OnFlush() = 0; |
@@ -69,7 +69,8 @@ class MockClientCommandBuffer : public MockCommandBufferBase { |
MOCK_METHOD0(OnFlush, void()); |
MOCK_METHOD1(DestroyTransferBuffer, void(int32 id)); |
- virtual void Flush(int32 put_offset) override; |
+ virtual void Flush(int32 put_offset, |
+ const std::vector<uint32>& sync_points) override; |
void DelegateToFake(); |
}; |
@@ -79,7 +80,8 @@ class MockClientCommandBufferMockFlush : public MockClientCommandBuffer { |
MockClientCommandBufferMockFlush(); |
virtual ~MockClientCommandBufferMockFlush(); |
- MOCK_METHOD1(Flush, void(int32 put_offset)); |
+ MOCK_METHOD2(Flush, |
+ void(int32 put_offset, const std::vector<uint32>& sync_points)); |
void DelegateToFake(); |
}; |