Index: gpu/command_buffer/client/gpu_control_client.h |
diff --git a/gpu/command_buffer/client/gpu_control_client.h b/gpu/command_buffer/client/gpu_control_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aaee9b197ee9a47e5df0c314192963a621b07fb9 |
--- /dev/null |
+++ b/gpu/command_buffer/client/gpu_control_client.h |
@@ -0,0 +1,20 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_CLIENT_H_ |
+#define GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_CLIENT_H_ |
+ |
+#include <cstdint> |
+ |
+namespace gpu { |
+ |
+class GpuControlClient { |
+ public: |
+ virtual void OnGpuControlLostContext() = 0; |
+ virtual void OnGpuControlErrorMessage(const char* message, int32_t id) = 0; |
+}; |
+ |
+} // namespace gpu |
+ |
+#endif // GPU_COMMAND_BUFFER_CLIENT_GPU_CONTROL_CLIENT_H_ |