Chromium Code Reviews| Index: content/browser/gpu_blacklist.h |
| diff --git a/content/browser/gpu_blacklist.h b/content/browser/gpu_blacklist.h |
| index 54bc9d2ea2b6d316243b95fbacc198d1ec8aa261..8c8724fd4e780aeabb6bbde0f51752537ca2377f 100644 |
| --- a/content/browser/gpu_blacklist.h |
| +++ b/content/browser/gpu_blacklist.h |
| @@ -61,15 +61,25 @@ 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" |
| + // status: "enabled" | "unavailable" | "software"; |
| + // } |
| + // |
| + // Each problems has: |
| + // { |
| // "description": "Your GPU is too old", |
| - // "cr_bugs": [1234], |
| - // "webkit_bugs": [] |
| - // }] |
| - Value* GetBlacklistingReasons() const; |
| + // "crBugs": [1234], |
| + // "webkitBugs": [] |
| + // } |
| + Value* GetFeatureStatus(bool gpuAccessAllowed) const; |
|
zmo
2011/04/11 23:10:25
gpu_access_allowed
|
| // Return the largest entry id. This is used for histogramming. |
| uint32 max_entry_id() const; |