Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Unified Diff: gpu/config/gpu_control_list.h

Issue 2424733002: Add unittest to avoid duplicate id in gpu driver bug list (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/config/gpu_control_list.cc » ('j') | gpu/config/gpu_driver_bug_list_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_control_list.h
diff --git a/gpu/config/gpu_control_list.h b/gpu/config/gpu_control_list.h
index 8fc373f7b1dc6cc4e9336e7a335e905029c06ea8..3949cec1c72d860d498c90745436eca0bc9e6881 100644
--- a/gpu/config/gpu_control_list.h
+++ b/gpu/config/gpu_control_list.h
@@ -91,6 +91,9 @@ class GPU_EXPORT GpuControlList {
// Returns the number of entries. This is only for tests.
size_t num_entries() const;
+ // This is only for tests.
+ bool has_duplicate_entry_id() const;
Zhenyao Mo 2016/10/17 17:30:04 nit: duplicate -> duplicated
qiankun 2016/10/18 01:52:56 Done.
+
// Register a feature to FeatureMap - used to construct a GpuControlList.
void AddSupportedFeature(const std::string& feature_name, int feature_id);
// Register whether "all" is recognized as all features.
« no previous file with comments | « no previous file | gpu/config/gpu_control_list.cc » ('j') | gpu/config/gpu_driver_bug_list_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698