| Index: gpu/command_buffer/service/memory_tracking.h
|
| diff --git a/gpu/command_buffer/service/memory_tracking.h b/gpu/command_buffer/service/memory_tracking.h
|
| index a7447e4e5d5dbe5ec8226fe63d68c13b64a15fef..a44a5cd722b013e6498b5f85d5aa6ed307c9d123 100644
|
| --- a/gpu/command_buffer/service/memory_tracking.h
|
| +++ b/gpu/command_buffer/service/memory_tracking.h
|
| @@ -30,6 +30,13 @@ class MemoryTracker : public base::RefCounted<MemoryTracker> {
|
| // Ensure a certain amount of GPU memory is free. Returns true on success.
|
| virtual bool EnsureGPUMemoryAvailable(size_t size_needed) = 0;
|
|
|
| + // Tracing id which identifies the GPU client for whom memory is being
|
| + // allocated.
|
| + virtual uint64_t ClientTracingId() const = 0;
|
| +
|
| + // Raw ID identifying the GPU client for whom memory is being allocated.
|
| + virtual int ClientId() const = 0;
|
| +
|
| protected:
|
| friend class base::RefCounted<MemoryTracker>;
|
| MemoryTracker() {}
|
|
|