Index: gpu/command_buffer/service/gles2_cmd_validation.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_validation.h b/gpu/command_buffer/service/gles2_cmd_validation.h |
index d98212b4e69e52b851a27e3f9b44e4ede958fd77..22ee2da0d0d7c424f59eae562d9cb6d4cecf1aa0 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_validation.h |
+++ b/gpu/command_buffer/service/gles2_cmd_validation.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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. |
@@ -38,6 +38,10 @@ class ValueValidator { |
valid_values_.end(); |
} |
+ const std::vector<T>& GetValues() const { |
+ return valid_values_; |
+ } |
+ |
private: |
std::vector<T> valid_values_; |
}; |