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

Unified Diff: content/public/browser/gpu_data_manager.h

Issue 2810593003: gpu: Some cleanups. (Closed)
Patch Set: . Created 3 years, 8 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/public/browser/gpu_data_manager.h
diff --git a/content/public/browser/gpu_data_manager.h b/content/public/browser/gpu_data_manager.h
index ff6f1d9224983f8debea96e2cccd044e657c1114..db341fb80f6f385792a9d39a86e1d29161ce495a 100644
--- a/content/public/browser/gpu_data_manager.h
+++ b/content/public/browser/gpu_data_manager.h
@@ -25,9 +25,6 @@ class GpuDataManagerObserver;
// This class is fully thread-safe.
class GpuDataManager {
public:
- typedef base::Callback<void(const std::list<base::ProcessHandle>&)>
- GetGpuProcessHandlesCallback;
-
// Getter for the singleton.
CONTENT_EXPORT static GpuDataManager* GetInstance();
@@ -40,10 +37,6 @@ class GpuDataManager {
virtual gpu::GPUInfo GetGPUInfo() const = 0;
- // Retrieves a list of process handles for all gpu processes.
- virtual void GetGpuProcessHandles(
- const GetGpuProcessHandlesCallback& callback) const = 0;
-
// This indicator might change because we could collect more GPU info or
// because the GPU blacklist could be updated.
// If this returns false, any further GPU access, including launching GPU
« no previous file with comments | « content/browser/service_manager/service_manager_context.cc ('k') | content/public/browser/gpu_service_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698