Index: gpu/command_buffer/service/gles2_cmd_decoder.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h |
index ac01c95804cc0a2dcd1d30864915d422a91e937a..3fc862379787ac05c2861106cf56fc256e252e6f 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h |
@@ -171,6 +171,10 @@ class GPU_EXPORT GLES2Decoder : public base::SupportsWeakPtr<GLES2Decoder>, |
virtual void SetIgnoreCachedStateForTest(bool ignore) = 0; |
+ // Allow the decoder to exit the current process. |
+ // Defaults to |false|. |
+ virtual void SetAllowExit(bool allow_exit) = 0; |
+ |
// Gets the QueryManager for this context. |
virtual QueryManager* GetQueryManager() = 0; |