| Index: gpu/command_buffer/service/mocks.h
 | 
| diff --git a/gpu/command_buffer/service/mocks.h b/gpu/command_buffer/service/mocks.h
 | 
| index 0d341bddfcc40c7b39ae1e200eb01f24fbcb3420..f526c01c78344a311ba30512541a9801762e1e8b 100644
 | 
| --- a/gpu/command_buffer/service/mocks.h
 | 
| +++ b/gpu/command_buffer/service/mocks.h
 | 
| @@ -69,6 +69,20 @@ class AsyncAPIMock : public AsyncAPIInterface {
 | 
|    CommandBufferEngine *engine_;
 | 
|  };
 | 
|  
 | 
| +// Allows specialized behavior per command in DoCommand.
 | 
| +class SpecializedDoCommandAsyncAPIMock : public AsyncAPIMock {
 | 
| + public:
 | 
| +  // Cause DoCommand to sleep more than the GpuScheduler time quantum.
 | 
| +  static const unsigned int kTestQuantumCommand = 333;
 | 
| +
 | 
| +  SpecializedDoCommandAsyncAPIMock();
 | 
| +  virtual ~SpecializedDoCommandAsyncAPIMock();
 | 
| +
 | 
| +  virtual error::Error DoCommand(unsigned int command,
 | 
| +                                 unsigned int arg_count,
 | 
| +                                 const void* cmd_data);
 | 
| +};
 | 
| +
 | 
|  namespace gles2 {
 | 
|  
 | 
|  class MockShaderTranslator : public ShaderTranslatorInterface {
 | 
| 
 |