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

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

Issue 12475002: Delete memory manager dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve against CrOS changes Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gpu/chrome_gpu_util.cc ('k') | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 virtual void GetGpuProcessHandles( 62 virtual void GetGpuProcessHandles(
63 const GetGpuProcessHandlesCallback& callback) const OVERRIDE; 63 const GetGpuProcessHandlesCallback& callback) const OVERRIDE;
64 virtual bool GpuAccessAllowed() const OVERRIDE; 64 virtual bool GpuAccessAllowed() const OVERRIDE;
65 virtual void RequestCompleteGpuInfoIfNeeded() OVERRIDE; 65 virtual void RequestCompleteGpuInfoIfNeeded() OVERRIDE;
66 virtual bool IsCompleteGpuInfoAvailable() const OVERRIDE; 66 virtual bool IsCompleteGpuInfoAvailable() const OVERRIDE;
67 virtual void RequestVideoMemoryUsageStatsUpdate() const OVERRIDE; 67 virtual void RequestVideoMemoryUsageStatsUpdate() const OVERRIDE;
68 virtual bool ShouldUseSoftwareRendering() const OVERRIDE; 68 virtual bool ShouldUseSoftwareRendering() const OVERRIDE;
69 virtual void RegisterSwiftShaderPath(const base::FilePath& path) OVERRIDE; 69 virtual void RegisterSwiftShaderPath(const base::FilePath& path) OVERRIDE;
70 virtual void AddObserver(GpuDataManagerObserver* observer) OVERRIDE; 70 virtual void AddObserver(GpuDataManagerObserver* observer) OVERRIDE;
71 virtual void RemoveObserver(GpuDataManagerObserver* observer) OVERRIDE; 71 virtual void RemoveObserver(GpuDataManagerObserver* observer) OVERRIDE;
72 virtual void SetWindowCount(uint32 count) OVERRIDE;
73 virtual uint32 GetWindowCount() const OVERRIDE;
74 virtual void UnblockDomainFrom3DAPIs(const GURL& url) OVERRIDE; 72 virtual void UnblockDomainFrom3DAPIs(const GURL& url) OVERRIDE;
75 virtual void DisableGpuWatchdog() OVERRIDE; 73 virtual void DisableGpuWatchdog() OVERRIDE;
76 virtual void SetGLStrings(const std::string& gl_vendor, 74 virtual void SetGLStrings(const std::string& gl_vendor,
77 const std::string& gl_renderer, 75 const std::string& gl_renderer,
78 const std::string& gl_version) OVERRIDE; 76 const std::string& gl_version) OVERRIDE;
79 virtual void GetGLStrings(std::string* gl_vendor, 77 virtual void GetGLStrings(std::string* gl_vendor,
80 std::string* gl_renderer, 78 std::string* gl_renderer,
81 std::string* gl_version) OVERRIDE; 79 std::string* gl_version) OVERRIDE;
82 80
83 // This collects preliminary GPU info, load GpuBlacklist, and compute the 81 // This collects preliminary GPU info, load GpuBlacklist, and compute the
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 DomainBlockMap blocked_domains_; 260 DomainBlockMap blocked_domains_;
263 mutable std::list<base::Time> timestamps_of_gpu_resets_; 261 mutable std::list<base::Time> timestamps_of_gpu_resets_;
264 bool domain_blocking_enabled_; 262 bool domain_blocking_enabled_;
265 263
266 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); 264 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl);
267 }; 265 };
268 266
269 } // namespace content 267 } // namespace content
270 268
271 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 269 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/gpu/chrome_gpu_util.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