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

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

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
Index: content/browser/gpu/gpu_data_manager_impl.h
===================================================================
--- content/browser/gpu/gpu_data_manager_impl.h (revision 201645)
+++ content/browser/gpu/gpu_data_manager_impl.h (working copy)
@@ -18,10 +18,10 @@
#include "base/time.h"
#include "base/values.h"
#include "content/public/browser/gpu_data_manager.h"
-#include "content/public/common/gpu_info.h"
#include "content/public/common/gpu_memory_stats.h"
-#include "content/public/common/gpu_switching_option.h"
#include "content/public/common/three_d_api_types.h"
+#include "gpu/config/gpu_info.h"
+#include "gpu/config/gpu_switching_option.h"
class CommandLine;
class GURL;
@@ -58,9 +58,9 @@
// GpuDataManager implementation.
virtual void InitializeForTesting(
const std::string& gpu_blacklist_json,
- const GPUInfo& gpu_info) OVERRIDE;
+ const gpu::GPUInfo& gpu_info) OVERRIDE;
virtual bool IsFeatureBlacklisted(int feature) const OVERRIDE;
- virtual GPUInfo GetGPUInfo() const OVERRIDE;
+ virtual gpu::GPUInfo GetGPUInfo() const OVERRIDE;
virtual void GetGpuProcessHandles(
const GetGpuProcessHandlesCallback& callback) const OVERRIDE;
virtual bool GpuAccessAllowed(std::string* reason) const OVERRIDE;
@@ -88,7 +88,7 @@
// Only update if the current GPUInfo is not finalized. If blacklist is
// loaded, run through blacklist and update blacklisted features.
- void UpdateGpuInfo(const GPUInfo& gpu_info);
+ void UpdateGpuInfo(const gpu::GPUInfo& gpu_info);
void UpdateVideoMemoryUsageStats(
const GPUVideoMemoryUsageStats& video_memory_usage_stats);
@@ -108,7 +108,7 @@
// Update WebPreferences for renderer based on blacklisting decisions.
void UpdateRendererWebPrefs(WebPreferences* prefs) const;
- GpuSwitchingOption GetGpuSwitchingOption() const;
+ gpu::GpuSwitchingOption GetGpuSwitchingOption() const;
std::string GetBlacklistVersion() const;
« no previous file with comments | « content/browser/gpu/gpu_control_list_version_info_unittest.cc ('k') | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698