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

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl.h

Issue 534043002: Add bits to indicate which parts of GPUInfo are collected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // GpuDataManager implementation. 60 // GpuDataManager implementation.
61 virtual void InitializeForTesting( 61 virtual void InitializeForTesting(
62 const std::string& gpu_blacklist_json, 62 const std::string& gpu_blacklist_json,
63 const gpu::GPUInfo& gpu_info) OVERRIDE; 63 const gpu::GPUInfo& gpu_info) OVERRIDE;
64 virtual bool IsFeatureBlacklisted(int feature) const OVERRIDE; 64 virtual bool IsFeatureBlacklisted(int feature) const OVERRIDE;
65 virtual gpu::GPUInfo GetGPUInfo() const OVERRIDE; 65 virtual gpu::GPUInfo GetGPUInfo() const OVERRIDE;
66 virtual void GetGpuProcessHandles( 66 virtual void GetGpuProcessHandles(
67 const GetGpuProcessHandlesCallback& callback) const OVERRIDE; 67 const GetGpuProcessHandlesCallback& callback) const OVERRIDE;
68 virtual bool GpuAccessAllowed(std::string* reason) const OVERRIDE; 68 virtual bool GpuAccessAllowed(std::string* reason) const OVERRIDE;
69 virtual void RequestCompleteGpuInfoIfNeeded() OVERRIDE; 69 virtual void RequestCompleteGpuInfoIfNeeded() OVERRIDE;
70 virtual bool IsEssentialGpuInfoAvailable() const OVERRIDE;
70 virtual bool IsCompleteGpuInfoAvailable() const OVERRIDE; 71 virtual bool IsCompleteGpuInfoAvailable() const OVERRIDE;
71 virtual void RequestVideoMemoryUsageStatsUpdate() const OVERRIDE; 72 virtual void RequestVideoMemoryUsageStatsUpdate() const OVERRIDE;
72 virtual bool ShouldUseSwiftShader() const OVERRIDE; 73 virtual bool ShouldUseSwiftShader() const OVERRIDE;
73 virtual void RegisterSwiftShaderPath(const base::FilePath& path) OVERRIDE; 74 virtual void RegisterSwiftShaderPath(const base::FilePath& path) OVERRIDE;
74 virtual void AddObserver(GpuDataManagerObserver* observer) OVERRIDE; 75 virtual void AddObserver(GpuDataManagerObserver* observer) OVERRIDE;
75 virtual void RemoveObserver(GpuDataManagerObserver* observer) OVERRIDE; 76 virtual void RemoveObserver(GpuDataManagerObserver* observer) OVERRIDE;
76 virtual void UnblockDomainFrom3DAPIs(const GURL& url) OVERRIDE; 77 virtual void UnblockDomainFrom3DAPIs(const GURL& url) OVERRIDE;
77 virtual void DisableGpuWatchdog() OVERRIDE; 78 virtual void DisableGpuWatchdog() OVERRIDE;
78 virtual void SetGLStrings(const std::string& gl_vendor, 79 virtual void SetGLStrings(const std::string& gl_vendor,
79 const std::string& gl_renderer, 80 const std::string& gl_renderer,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 210
210 mutable base::Lock lock_; 211 mutable base::Lock lock_;
211 scoped_ptr<GpuDataManagerImplPrivate> private_; 212 scoped_ptr<GpuDataManagerImplPrivate> private_;
212 213
213 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); 214 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl);
214 }; 215 };
215 216
216 } // namespace content 217 } // namespace content
217 218
218 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 219 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « components/autofill/content/browser/risk/fingerprint.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