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

Unified Diff: chrome/browser/gpu/gpu_feature_checker.cc

Issue 15745014: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 7 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 | « chrome/browser/gpu/gpu_feature_checker.h ('k') | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gpu/gpu_feature_checker.cc
===================================================================
--- chrome/browser/gpu/gpu_feature_checker.cc (revision 201645)
+++ chrome/browser/gpu/gpu_feature_checker.cc (working copy)
@@ -13,14 +13,14 @@
// A false return value is always valid, but a true one is only valid if full
// GPU info has been collected in a GPU process.
bool IsFeatureAllowed(content::GpuDataManager* manager,
- content::GpuFeatureType feature) {
+ gpu::GpuFeatureType feature) {
return (manager->GpuAccessAllowed(NULL) &&
!manager->IsFeatureBlacklisted(feature));
}
} // namespace
-GPUFeatureChecker::GPUFeatureChecker(content::GpuFeatureType feature,
+GPUFeatureChecker::GPUFeatureChecker(gpu::GpuFeatureType feature,
FeatureAvailableCallback callback)
: feature_(feature),
callback_(callback) {
« no previous file with comments | « chrome/browser/gpu/gpu_feature_checker.h ('k') | chrome/browser/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698