diff options
Diffstat (limited to 'net/disk_cache/backend_impl.h')
-rw-r--r-- | net/disk_cache/backend_impl.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h index 04a228d..7a39238 100644 --- a/net/disk_cache/backend_impl.h +++ b/net/disk_cache/backend_impl.h @@ -7,14 +7,13 @@ #ifndef NET_DISK_CACHE_BACKEND_IMPL_H__ #define NET_DISK_CACHE_BACKEND_IMPL_H__ +#include "base/timer.h" #include "net/disk_cache/block_files.h" #include "net/disk_cache/disk_cache.h" #include "net/disk_cache/rankings.h" #include "net/disk_cache/stats.h" #include "net/disk_cache/trace.h" -class Timer; - namespace disk_cache { // This class implements the Backend interface. An object of this @@ -176,8 +175,7 @@ class BackendImpl : public Backend { bool disabled_; Stats stats_; // Usage statistcs. - Task* timer_task_; - Timer* timer_; // Usage timer. + base::RepeatingTimer<BackendImpl> timer_; // Usage timer. TraceObject trace_object_; // Inits and destroys internal tracing. DISALLOW_EVIL_CONSTRUCTORS(BackendImpl); |