| Index: gpu/ipc/host/shader_disk_cache.h
|
| diff --git a/gpu/ipc/host/shader_disk_cache.h b/gpu/ipc/host/shader_disk_cache.h
|
| index 4080737d2fe50b15e7bab117378b64e583c78135..f8d6f5eb07c367789430514efcc27df49392882b 100644
|
| --- a/gpu/ipc/host/shader_disk_cache.h
|
| +++ b/gpu/ipc/host/shader_disk_cache.h
|
| @@ -116,6 +116,13 @@ class ShaderCacheFactory : NON_EXPORTED_BASE(public base::ThreadChecker) {
|
| const base::Time& end_time,
|
| const base::Closure& callback);
|
|
|
| + // Same as ClearByPath, but looks up the cache by |client_id|. The |callback|
|
| + // will be executed when the clear is complete.
|
| + void ClearByClientId(int32_t client_id,
|
| + const base::Time& begin_time,
|
| + const base::Time& end_time,
|
| + const base::Closure& callback);
|
| +
|
| // Retrieve the shader disk cache for the provided |client_id|.
|
| scoped_refptr<ShaderDiskCache> Get(int32_t client_id);
|
|
|
|
|