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

Unified Diff: content/browser/gpu_blacklist.h

Issue 6712048: Implement easy GPU feature status summary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: First rev Created 9 years, 8 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
Index: content/browser/gpu_blacklist.h
diff --git a/content/browser/gpu_blacklist.h b/content/browser/gpu_blacklist.h
index 2b8fb7b02dfd4ead97124e524d94585c320cd2b8..51b1a74c5efd9b0123da80760defc2cff9a0d0ef 100644
--- a/content/browser/gpu_blacklist.h
+++ b/content/browser/gpu_blacklist.h
@@ -61,15 +61,26 @@ class GpuBlacklist {
std::vector<uint32>& entry_ids) const;
- // Returns an array of entries, each entry of which has
- // description, cr_bugs, and webkit_bugs explaining reason for
- // blacklisting, e.g.:
- // [{
+ // Returns status information on the blacklist. This is two parted:
+ // {
+ // featureStatus: []
+ // problems: []
+ // }
+ //
+ // Each entry in feature_status has:
+ // {
+ // name: "name of feature"
+ // enabled: boolean;
+ // }
+ //
+ // Each problems has:
+ // {
// "description": "Your GPU is too old",
- // "cr_bugs": [1234],
- // "webkit_bugs": []
- // }]
- Value* GetBlacklistingReasons() const;
+ // "crBugs": [1234],
+ // "webkitBugs": []
+ // "affectedFeatures": "string"
+ // }
+ Value* GetStatus() const;
// Return the largest entry id. This is used for histogramming.
uint32 max_entry_id() const;

Powered by Google App Engine
This is Rietveld 408576698