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

Unified Diff: content/browser/gpu/gpu_data_manager_impl.cc

Issue 15385003: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | « content/browser/gpu/gpu_data_manager_impl.h ('k') | content/browser/gpu/gpu_data_manager_impl_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl.cc
===================================================================
--- content/browser/gpu/gpu_data_manager_impl.cc (revision 201163)
+++ content/browser/gpu/gpu_data_manager_impl.cc (working copy)
@@ -19,7 +19,7 @@
}
void GpuDataManagerImpl::InitializeForTesting(
- const std::string& gpu_blacklist_json, const GPUInfo& gpu_info) {
+ const std::string& gpu_blacklist_json, const gpu::GPUInfo& gpu_info) {
base::AutoLock auto_lock(lock_);
private_->InitializeForTesting(gpu_blacklist_json, gpu_info);
}
@@ -29,7 +29,7 @@
return private_->IsFeatureBlacklisted(feature);
}
-GPUInfo GpuDataManagerImpl::GetGPUInfo() const {
+gpu::GPUInfo GpuDataManagerImpl::GetGPUInfo() const {
base::AutoLock auto_lock(lock_);
return private_->GetGPUInfo();
}
@@ -117,7 +117,7 @@
private_->Initialize();
}
-void GpuDataManagerImpl::UpdateGpuInfo(const GPUInfo& gpu_info) {
+void GpuDataManagerImpl::UpdateGpuInfo(const gpu::GPUInfo& gpu_info) {
base::AutoLock auto_lock(lock_);
private_->UpdateGpuInfo(gpu_info);
}
@@ -152,7 +152,7 @@
private_->UpdateRendererWebPrefs(prefs);
}
-GpuSwitchingOption GpuDataManagerImpl::GetGpuSwitchingOption() const {
+gpu::GpuSwitchingOption GpuDataManagerImpl::GetGpuSwitchingOption() const {
base::AutoLock auto_lock(lock_);
return private_->GetGpuSwitchingOption();
}
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.h ('k') | content/browser/gpu/gpu_data_manager_impl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698