summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/command_buffer_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/command_buffer_mock.h')
-rw-r--r--gpu/command_buffer/common/command_buffer_mock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpu/command_buffer/common/command_buffer_mock.h b/gpu/command_buffer/common/command_buffer_mock.h
index 4da8e82..3243d17 100644
--- a/gpu/command_buffer/common/command_buffer_mock.h
+++ b/gpu/command_buffer/common/command_buffer_mock.h
@@ -36,6 +36,8 @@ class MockCommandBuffer : public CommandBuffer {
int32 id_request));
MOCK_METHOD1(SetToken, void(int32 token));
MOCK_METHOD1(SetParseError, void(error::Error error));
+ MOCK_METHOD1(SetContextLostReason,
+ void(error::ContextLostReason context_lost_reason));
private:
DISALLOW_COPY_AND_ASSIGN(MockCommandBuffer);