Chromium Code Reviews| Index: content/browser/gpu/browser_gpu_memory_buffer_manager.h |
| diff --git a/content/browser/gpu/browser_gpu_memory_buffer_manager.h b/content/browser/gpu/browser_gpu_memory_buffer_manager.h |
| index 6a3d13bb278f9209811d489e2c020d159e16fd10..4eca147aa97c31c955762de2486052bbba41b51c 100644 |
| --- a/content/browser/gpu/browser_gpu_memory_buffer_manager.h |
| +++ b/content/browser/gpu/browser_gpu_memory_buffer_manager.h |
| @@ -22,7 +22,8 @@ class CONTENT_EXPORT BrowserGpuMemoryBufferManager |
| typedef base::Callback<void(const gfx::GpuMemoryBufferHandle& handle)> |
| AllocationCallback; |
| - explicit BrowserGpuMemoryBufferManager(int gpu_client_id); |
| + explicit BrowserGpuMemoryBufferManager(int gpu_client_id, |
|
reveman
2015/07/29 21:59:04
nit: 'explicit' is no longer needed
ericrk
2015/07/29 22:50:15
Done.
|
| + uint64_t gpu_client_tracing_id); |
| ~BrowserGpuMemoryBufferManager() override; |
| static BrowserGpuMemoryBufferManager* current(); |
| @@ -121,10 +122,13 @@ class CONTENT_EXPORT BrowserGpuMemoryBufferManager |
| int client_id, |
| uint32 sync_point); |
| + uint64_t ClientIdToTracingProcessId(int client_id) const; |
| + |
| const gfx::GpuMemoryBufferType factory_type_; |
| const std::vector<GpuMemoryBufferFactory::Configuration> |
| supported_configurations_; |
| const int gpu_client_id_; |
| + const uint64_t gpu_client_tracing_id_; |
| // The GPU process host ID. This should only be accessed on the IO thread. |
| int gpu_host_id_; |