summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gpu_feature_checker.cc
Commit message (Collapse)AuthorAgeFilesLines
* Make GpuDataManager thread safe.zmo@chromium.org2012-08-301-2/+2
| | | | | | | | | | | | | | | | Instead of forcing it on UI thread only, this CL makes it thread safe. We already put a locker around gpu_info, this CL puts another locker around log_messages, and the updater_list is thread safe. Therefore, the whole class now is thread safe. Also, I did a little bit clean up, 1) remove two dead function declarations; 2) rename Features to BlacklistedFeatures, because the old naming is confusing and multiple people complained to me already. 3) Expose AddLogMessage() so it can also be called on browser thread, which is the original motivation for me to do this refactoring. I am working on a unit test for GpuDataManager, but will upload it as a separate CL. This CL does not change behavior at all. BUG= TEST=tree Review URL: https://chromiumcodereview.appspot.com/10891013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154275 0039d316-1c4b-4281-b951-d872f2087c98
* Breaking WebGL Detection out of Webstore Private APIeaugusti@chromium.org2012-06-301-0/+77
Breaking the WebGL detection functionality out of the Webstore Private API because other areas may want to use it. BUG=134564 Review URL: https://chromiumcodereview.appspot.com/10660017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145058 0039d316-1c4b-4281-b951-d872f2087c98